-
Notifications
You must be signed in to change notification settings - Fork 117
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
DCOS-1521 Fix OAuth wording #192
Conversation
@mgummelt Let me know what you think. |
emitter.publish(errors.DefaultError( | ||
'{message}\n\n {url}\n\n'.format(message=message, | ||
url=auth_url,))) | ||
emitter.publish( |
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.
we haven't been using named parameters in string interpolation. I know you didn't write this, but can you change it?
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.
also, why are we printing this to stderr?
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.
also, why are we printing this to stderr?
A principal that we try to keep in the dcos cli is that stdout should have a predictable output that is pipe-able to a program. E.g. grep, jq, etc.
Let say that you want to: dcos marathon app list | ...
if we the above message is written to stdout then the pipe is probably incorrect. In those cases we try to print those messages to stderr.
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.
haven't been using named parameters in string interpolation. I know you didn't write this, but can you change it?
Done.
Some simple stuff then LGTM |
7fe6d0f
to
afea6f8
Compare
|
||
code = moves.input('Please enter Mesosphere verification code: ').strip() |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
No description provided.