cli/config/configfile: fix "unused-receiver" linting

cli/config/configfile/file_test.go:189:7: unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)
    func (c *mockNativeStore) Store(_ types.AuthConfig) error {
          ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-02-17 15:24:54 +01:00
parent f79193c22c
commit 9b62e57402
+1 -1
View File
@@ -186,7 +186,7 @@ func (c *mockNativeStore) GetAll() (map[string]types.AuthConfig, error) {
return c.authConfigs, nil
}
func (c *mockNativeStore) Store(_ types.AuthConfig) error {
func (*mockNativeStore) Store(_ types.AuthConfig) error {
return nil
}