File tree 7 files changed +8
-14
lines changed
7 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 3
3
linters-settings :
4
4
govet :
5
5
enable-all : true
6
- golint :
7
- min-confidence : 0
8
6
gofmt :
9
7
simplify : true
10
8
goimports :
@@ -17,12 +15,8 @@ linters:
17
15
- staticcheck
18
16
- unused
19
17
- gosimple
20
- - structcheck
21
- - varcheck
22
18
- ineffassign
23
- - deadcode
24
19
- typecheck
25
- - golint
26
20
- gofmt
27
21
- goimports
28
22
issues :
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
GO := go
16
- GOLANGCI_VER := v1.48.0
16
+ GOLANGCI_VER := v1.51.2
17
17
GO_TEST ?= $(GO ) test $(or $(GO_FLAGS ) ,-race)
18
18
arch ?= $(shell go env GOARCH)
19
19
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ FORCE="${FORCE:-}" # Force assets to be rebuilt if FORCE=true
30
30
31
31
# Install while in a temp dir to avoid polluting go.mod/go.sum
32
32
pushd " ${TMPDIR:-/ tmp} " > /dev/null
33
- go install github.com/kevinburke/go-bindata/go-bindata@latest
33
+ go install github.com/kevinburke/go-bindata/go-bindata@v3.24.0
34
34
popd > /dev/null
35
35
36
36
build_asset () {
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python3
2
2
3
3
# Copyright 2016 Google Inc. All Rights Reserved.
4
4
#
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python3
2
2
3
3
# Copyright YEAR Google Inc. All Rights Reserved.
4
4
#
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ func (f *realFramework) ClientV2() *v2.Client {
213
213
214
214
func (a dockerActions ) RunPause () string {
215
215
return a .Run (DockerRunArgs {
216
- Image : "kubernetes /pause" ,
216
+ Image : "registry.k8s.io /pause" ,
217
217
})
218
218
}
219
219
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ func TestDockerContainerByName(t *testing.T) {
90
90
91
91
containerName := fmt .Sprintf ("test-docker-container-by-name-%d" , os .Getpid ())
92
92
fm .Docker ().Run (framework.DockerRunArgs {
93
- Image : "kubernetes /pause" ,
93
+ Image : "registry.k8s.io /pause" ,
94
94
Args : []string {"--name" , containerName },
95
95
})
96
96
@@ -150,7 +150,7 @@ func TestBasicDockerContainer(t *testing.T) {
150
150
151
151
containerName := fmt .Sprintf ("test-basic-docker-container-%d" , os .Getpid ())
152
152
containerID := fm .Docker ().Run (framework.DockerRunArgs {
153
- Image : "kubernetes /pause" ,
153
+ Image : "registry.k8s.io /pause" ,
154
154
Args : []string {
155
155
"--name" , containerName ,
156
156
},
@@ -183,7 +183,7 @@ func TestDockerContainerSpec(t *testing.T) {
183
183
cpuShares = uint64 (2048 )
184
184
cpuMask = "0"
185
185
memoryLimit = uint64 (1 << 30 ) // 1GB
186
- image = "kubernetes /pause"
186
+ image = "registry.k8s.io /pause"
187
187
env = map [string ]string {"test_var" : "FOO" }
188
188
labels = map [string ]string {"bar" : "baz" }
189
189
)
You can’t perform that action at this time.
0 commit comments