mirror of https://github.com/docker/cli.git
internal/test: FakeCli: remove name for unused arg (revive)
internal/test/cli.go:184:34: unused-parameter: parameter 'insecure' seems to be unused, consider removing or renaming it as _ (revive) func (c *FakeCli) RegistryClient(insecure bool) registryclient.RegistryClient { ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
20a70cb530
commit
399ded9b98
|
@ -181,7 +181,7 @@ func (c *FakeCli) ManifestStore() manifeststore.Store {
|
|||
}
|
||||
|
||||
// RegistryClient returns a fake client for testing
|
||||
func (c *FakeCli) RegistryClient(insecure bool) registryclient.RegistryClient {
|
||||
func (c *FakeCli) RegistryClient(bool) registryclient.RegistryClient {
|
||||
return c.registryClient
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue