Skip to content
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

Merged
merged 1 commit into from
Jun 2, 2015
Merged

DCOS-1521 Fix OAuth wording #192

merged 1 commit into from
Jun 2, 2015

Conversation

jsancio
Copy link
Contributor

@jsancio jsancio commented May 30, 2015

No description provided.

@jsancio
Copy link
Contributor Author

jsancio commented Jun 1, 2015

@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(
Copy link
Contributor

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?

Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@mgummelt
Copy link
Contributor

mgummelt commented Jun 2, 2015

Some simple stuff then LGTM

@jsancio jsancio force-pushed the dcos-1521-fix-oauth-wording branch from 7fe6d0f to afea6f8 Compare June 2, 2015 18:30
jsancio added a commit that referenced this pull request Jun 2, 2015
@jsancio jsancio merged commit 5775748 into master Jun 2, 2015
@jsancio jsancio deleted the dcos-1521-fix-oauth-wording branch June 2, 2015 21:27

code = moves.input('Please enter Mesosphere verification code: ').strip()

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants