Skip to content

Commit

Permalink
client/setec: log when a new secret version is applied
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Apr 15, 2024
1 parent 6a41f4c commit 13488bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/setec/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ func (s *Store) applyUpdates(updates map[string]*api.SecretValue) error {
// This is a new value for an unexpired secret.
// Note that new values do not update access times.
s.active.m[name].Secret = sv
s.logf("[store] update to version %d for secret %q", sv.Version, name)

// Wake up any watchers pending on new values for this secret.
for _, w := range s.active.w[name] {
Expand Down

0 comments on commit 13488bf

Please sign in to comment.