-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Resolve Revocation Notification environment variable name collision #1751
Changes from 2 commits
b6d45db
26dc478
43edcd2
4c764fb
6f43e9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -680,7 +680,7 @@ def add_arguments(self, parser: ArgumentParser): | |
parser.add_argument( | ||
"--monitor-revocation-notification", | ||
action="store_true", | ||
env_var="ACAPY_NOTIFY_REVOCATION", | ||
env_var="ACAPY_MONITOR_REVOCATION_NOTIF", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The abbreviation feels slightly out of place but it's also one of the longest monitoring subjects so I'm not feeling particularly nit-picky on that point There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's the main reason why I shortened it, because it's such a long environment variable There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://developer.apple.com/documentation/coremedia/1489454-cmmetadataformatdescriptioncreat I mean, could be worse .... 🙃 |
||
help=( | ||
"Specifies that aca-py will emit webhooks on notification of " | ||
"revocation received." | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit, but I like it when the env variable follows the argument (so I could guess what the env name is from the arg name)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough on you're point, let's make that change