mirror of https://github.com/docker/cli.git
42ad2446e0
```
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
|
||
---|---|---|
.. | ||
example1.env | ||
example2.env | ||
full-example.yml | ||
full-struct_test.go | ||
interpolate.go | ||
loader.go | ||
loader_test.go | ||
merge.go | ||
merge_test.go | ||
types_test.go | ||
volume.go | ||
volume_test.go | ||
windows_path.go | ||
windows_path_test.go |