-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Asking the user for feedback using custom heuristic #3139
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3139 +/- ##
==========================================
- Coverage 70.34% 70.34% -0.01%
==========================================
Files 383 383
Lines 24951 24960 +9
Branches 3796 3797 +1
==========================================
+ Hits 17553 17558 +5
- Misses 6288 6291 +3
- Partials 1110 1111 +1
Continue to review full report at Codecov.
|
try: | ||
args = parse_quotes(cmd) | ||
azlogging.configure_logging(args) | ||
|
||
if 'feedback' in args: |
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.
What if I create a VM with name 'feedback'.
How does this work?
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.
Changed
frequency = {} | ||
|
||
with open(os.path.join(shell_config(), SHELL_CONFIG.get_frequency()), 'w') as freq: | ||
now = datetime.datetime.now() |
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.
UTC?
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.
Better use UTC time.
Looks good. Please test it again before merge. |
…)" This reverts commit 274a9fc.
fixes #3157
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Command Guidelines
(see Authoring Command Modules)