DockerCLI/cli/compose
Sebastiaan van Stijn 42ad2446e0
cli/compose/loader: Using a reference for the variable on range scope `overrideService` (scopelint)
```
cli/compose/loader/merge.go:64:41: Using a reference for the variable on range scope `overrideService` (scopelint)
			if err := mergo.Merge(&baseService, &overrideService, mergo.WithAppendSlice, mergo.WithOverride, mergo.WithTransformers(specials)); err != nil {
			                                     ^
cli/compose/loader/loader_test.go:1587:28: Using the variable on range scope `testcase` in function literal (scopelint)
			config, err := loadYAML(testcase.yaml)
			                        ^
cli/compose/loader/loader_test.go:1590:58: Using the variable on range scope `testcase` in function literal (scopelint)
			assert.Check(t, is.DeepEqual(config.Services[0].Init, testcase.init))
			                                                      ^
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 96ec7299d8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-06 13:16:53 +01:00
..
convert cli/compose/convert: driverObjectConfig - result 1 (error) is always nil (unparam) 2020-01-06 13:16:45 +01:00
interpolation Add options to the compose loader 2018-06-25 17:15:26 +02:00
loader cli/compose/loader: Using a reference for the variable on range scope `overrideService` (scopelint) 2020-01-06 13:16:53 +01:00
schema Add support for using Configs as CredentialSpecs in services 2019-04-12 11:17:29 -05:00
template Fix some spelling errors 2019-01-11 15:49:02 +08:00
types cli/compose/types/types.go:106:2: structtag: struct field tag `yaml:",inline", json:"-"` not compatible with reflect.StructTag.Get: key:"value" pairs not separated by spaces (govet) 2020-01-06 13:16:32 +01:00