mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
refactor: changed removing secret from store returns error
This commit is contained in:
parent
17350ab99b
commit
e38402edc3
3 changed files with 11 additions and 4 deletions
|
|
@ -29,6 +29,7 @@ func (s *StaticStore) ListSecrets() (map[string]string, error) {
|
|||
}, nil
|
||||
}
|
||||
|
||||
func (s *StaticStore) RemoveSecretByID(secretID string) {
|
||||
// Nothing to do here, since nothing is being stored
|
||||
func (s *StaticStore) RemoveSecretByID(secretID string) error {
|
||||
// Nothing to do here, since nothing is being stored. With different implementations, we could return an error when no secret is found for a specific ID.
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue