mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
chore: more miscellaneous updates
This commit is contained in:
parent
7ffb080c7e
commit
094fb0df3b
6 changed files with 56 additions and 31 deletions
|
|
@ -95,7 +95,11 @@ func (l *LocalSecretStore) ListSecrets() (map[string]string, error) {
|
|||
defer l.mu.RUnlock()
|
||||
|
||||
secretsCopy := make(map[string]string)
|
||||
for key, value := range l.Secrets {
|
||||
for key, _ := range l.Secrets {
|
||||
value, err := l.GetSecretByID(key)
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
secretsCopy[key] = value
|
||||
}
|
||||
return secretsCopy, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue