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 13:39:15 +01:00
parent f79193c22c
commit 9b62e57402
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

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
}