File tree Expand file tree Collapse file tree 9 files changed +13
-13
lines changed Expand file tree Collapse file tree 9 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ linters:
29
29
enable :
30
30
# Sorted alphabetically.
31
31
- errcheck
32
- - exportloopref
32
+ - copyloopvar
33
33
- gci
34
34
- goimports # Also includes gofmt style formatting
35
35
- gosimple
@@ -51,4 +51,4 @@ linters-settings:
51
51
min-occurrences : 5
52
52
govet :
53
53
disable :
54
- - printf
54
+ - printf
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ linters:
29
29
enable :
30
30
# Sorted alphabetically.
31
31
- errcheck
32
- - exportloopref
32
+ - copyloopvar
33
33
- gci
34
34
- goimports # Also includes gofmt style formatting
35
35
- gosimple
@@ -51,4 +51,4 @@ linters-settings:
51
51
min-occurrences : 5
52
52
govet :
53
53
disable :
54
- - printf
54
+ - printf
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ linters:
29
29
enable :
30
30
# Sorted alphabetically.
31
31
- errcheck
32
- - exportloopref
32
+ - copyloopvar
33
33
- gci
34
34
- goimports # Also includes gofmt style formatting
35
35
- gosimple
@@ -51,4 +51,4 @@ linters-settings:
51
51
min-occurrences : 5
52
52
govet :
53
53
disable :
54
- - printf
54
+ - printf
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ linters:
29
29
enable :
30
30
# Sorted alphabetically.
31
31
- errcheck
32
- - exportloopref
32
+ - copyloopvar
33
33
- gci
34
34
- goimports # Also includes gofmt style formatting
35
35
- gosimple
@@ -51,4 +51,4 @@ linters-settings:
51
51
min-occurrences : 5
52
52
govet :
53
53
disable :
54
- - printf
54
+ - printf
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ linters:
24
24
enable :
25
25
# Sorted alphabetically.
26
26
- errcheck
27
- - exportloopref
27
+ - copyloopvar
28
28
- gci
29
29
- goimports # Also includes gofmt style formatting
30
30
- gosimple
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ func (r *RCloneClient) listenForConfigUpdates() {
143
143
logger := r .logger .WithField ("func" , "listenForConfigUpdates" )
144
144
for config := range r .configChan {
145
145
logger .Info ("Received config update" )
146
- config := config
146
+
147
147
go func () {
148
148
err := r .loadRcloneConfiguration (& config )
149
149
if err != nil {
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ import (
37
37
typev3 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
38
38
"github.com/envoyproxy/go-control-plane/pkg/resource/v3"
39
39
"github.com/envoyproxy/go-control-plane/pkg/wellknown"
40
+ "google.golang.org/protobuf/types/known/anypb"
40
41
duration "google.golang.org/protobuf/types/known/durationpb"
41
42
wrappers "google.golang.org/protobuf/types/known/wrapperspb"
42
- "google.golang.org/protobuf/types/known/anypb"
43
43
44
44
"github.com/seldonio/seldon-core/scheduler/v2/pkg/util"
45
45
)
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ func TestPipelineEvents(t *testing.T) {
458
458
select {
459
459
case next := <- stream .msgs :
460
460
psr = next
461
- case <- time .After (2 * time .Second ):
461
+ case <- time .After (2 * time .Second ):
462
462
t .Fail ()
463
463
}
464
464
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ func TestPipelineStatusEvents(t *testing.T) {
185
185
}
186
186
g .Expect (s .pipelineEventStream .streams [stream ]).ToNot (BeNil ())
187
187
hub .PublishPipelineEvent (pipelineEventHandlerName , coordinator.PipelineEventMsg {
188
- PipelineName : "foo" , PipelineVersion : 1 , })
188
+ PipelineName : "foo" , PipelineVersion : 1 })
189
189
190
190
// to allow events to propagate
191
191
time .Sleep (500 * time .Millisecond )
You can’t perform that action at this time.
0 commit comments