DockerCLI/cli/compose/loader
Sebastiaan van Stijn 96ec7299d8
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>
2019-10-31 19:22:34 +01:00
..
example1.env Import docker/docker/cli 2017-04-17 17:40:59 -04:00
example2.env Import docker/docker/cli 2017-04-17 17:40:59 -04:00
full-example.yml Add docker-compose schema v3.9 2019-08-30 10:58:05 +02:00
full-struct_test.go Add docker-compose schema v3.9 2019-08-30 10:58:05 +02:00
interpolate.go Rollback config type interpolation on fields "parallelism" and "max_failure_ratio" were missing, as it uses the same type as update_config. 2019-07-03 17:23:33 +02:00
loader.go compose/loader: define type for transformer-functions 2019-10-31 19:22:21 +01:00
loader_test.go cli/compose/loader: Using a reference for the variable on range scope `overrideService` (scopelint) 2019-10-31 19:22:34 +01:00
merge.go cli/compose/loader: Using a reference for the variable on range scope `overrideService` (scopelint) 2019-10-31 19:22:34 +01:00
merge_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
types_test.go Allow marshalling of Compose config to JSON 2018-09-10 11:16:05 -07:00
volume.go Support parsing of named pipes for compose volumes. 2017-09-26 11:24:23 -04:00
volume_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
windows_path.go Detect Windows absolute paths on non-Windows CLI 2019-07-10 21:25:03 +02:00
windows_path_test.go compose/loader: fix TestIsAbs not testing all combinations 2019-10-29 15:02:23 +01:00