Skip to content

Commit

Permalink
Do not leak github credentials on failed rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
zkdev committed Jan 16, 2025
1 parent 32f0da0 commit 9888231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfg_mgmt/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def rotate_cfg_element(
else:
logger.info(
'No secondary oAuth token provided for credential with username '
f"'{credential.username}' of github-config '{cfg_to_rotate.name()}' "
f"'{credential.username()}' of github-config '{cfg_to_rotate.name()}' "
'- will not attempt rotation.'
)
except requests.exceptions.HTTPError as http_error:
Expand Down

0 comments on commit 9888231

Please sign in to comment.