DockerCLI/opts
Sebastiaan van Stijn c2b069f4db
opts: Using the variable on range scope `tc` in function literal (scopelint)
```
opts/network_test.go:74:35: Using the variable on range scope `tc` in function literal (scopelint)
			assert.NilError(t, network.Set(tc.value))
			                               ^
opts/network_test.go:102:40: Using the variable on range scope `tc` in function literal (scopelint)
			assert.ErrorContains(t, network.Set(tc.value), tc.expectedError)
			                                    ^
opts/opts_test.go:270:30: Using the variable on range scope `tc` in function literal (scopelint)
			val, err := ValidateLabel(tc.value)
			                          ^
opts/opts_test.go:271:7: Using the variable on range scope `tc` in function literal (scopelint)
			if tc.expectedErr != "" {
			   ^
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-31 19:22:41 +01:00
..
config.go
duration.go
duration_test.go
env.go
env_test.go
envfile.go
envfile_test.go
file.go
gpus.go
gpus_test.go
hosts.go
hosts_test.go
hosts_unix.go
hosts_windows.go
ip.go
ip_test.go
mount.go
mount_test.go
network.go
network_test.go opts: Using the variable on range scope `tc` in function literal (scopelint) 2019-10-31 19:22:41 +01:00
opts.go
opts_test.go opts: Using the variable on range scope `tc` in function literal (scopelint) 2019-10-31 19:22:41 +01:00
opts_unix.go
opts_windows.go
parse.go
port.go
port_test.go
quotedstring.go
quotedstring_test.go
runtime.go
secret.go
secret_test.go
throttledevice.go opts/throttledevice.go:51:5: SA4003: unsigned values are never < 0 (staticcheck) 2019-10-31 19:21:55 +01:00
ulimit.go
ulimit_test.go opts/ulimit_test.go:11:13: composites: `*github.com/docker/cli/vendor/github.com/docker/go-units.Ulimit` composite literal uses unkeyed fields (govet) 2019-10-31 19:22:15 +01:00
weightdevice.go