mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
chore: more miscellaneous updates
This commit is contained in:
parent
5b474b74be
commit
b165fe2927
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