Skip to content

Commit 1347b2c

Browse files
authored
Merge pull request #547 from rabbitmq/renewal-creds
Stop logging renewal info to avoid leaking creds.
2 parents b4c3d89 + 4f9a910 commit 1347b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rabbitmqclient/vault_reader.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ func manageTokenLifecycle(client *vault.Client, token *vault.Secret) error {
273273
return nil
274274

275275
// Successfully completed renewal
276-
case renewal := <-watcher.RenewCh():
277-
logger.Info("Successfully renewed Vault token", "renewal info", renewal)
276+
case <-watcher.RenewCh():
277+
logger.Info("Successfully renewed Vault token")
278278
}
279279
}
280280
}

0 commit comments

Comments
 (0)