mirror of https://github.com/docker/cli.git
cli/config/configfile: mockNativeStore: remove name for unused arg (revive)
cli/config/configfile/file_test.go:189:33: unused-parameter: parameter 'authConfig' seems to be unused, consider removing or renaming it as _ (revive) func (c *mockNativeStore) Store(authConfig types.AuthConfig) error { ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
7c8680c69b
commit
dd6ede2109
|
@ -186,7 +186,7 @@ func (c *mockNativeStore) GetAll() (map[string]types.AuthConfig, error) {
|
||||||
return c.authConfigs, nil
|
return c.authConfigs, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *mockNativeStore) Store(authConfig types.AuthConfig) error {
|
func (c *mockNativeStore) Store(_ types.AuthConfig) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue