DockerCLI/cli/config
Sebastiaan van Stijn 43b498829b
cli/config: Using the variable on range scope `tc` in function literal (scopelint)
```
cli/config/config_test.go:590:11: Using the variable on range scope `tc` in function literal (scopelint)
			SetDir(tc.dir)
			       ^
cli/config/config_test.go:591:19: Using the variable on range scope `tc` in function literal (scopelint)
			f, err := Path(tc.path...)
			               ^
cli/config/config_test.go:592:23: Using the variable on range scope `tc` in function literal (scopelint)
			assert.Equal(t, f, tc.expected)
			                   ^
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 5a2a9d9ca8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-06 13:16:51 +01:00
..
configfile cli-plugins: alias an existing allowed command (only builder for now) 2019-04-19 01:26:45 +00:00
credentials Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
types Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
config.go harden config.Path() to disallow directory traversal 2019-03-07 14:40:53 +00:00
config_test.go cli/config: Using the variable on range scope `tc` in function literal (scopelint) 2020-01-06 13:16:51 +01:00