Skip to content

Fixing nginx flag issue identified by customer - #1663

Merged
dmp42 merged 1 commit into
distribution:masterfrom
moxiegirl:fix-flags
May 4, 2016
Merged

dmp42 merged 1 commit into
distribution:masterfrom
moxiegirl:fix-flags

Conversation

@moxiegirl

Copy link
Copy Markdown

Customer reported the following issue:

I wasn't sure which email to direct this to so if this is the incorrect place to report this please let me know. I notice a slight typo in one of the guides on https://docs.docker.com/registry/nginx/ .

In the final step the guide lists the command
       docker login -p=testuser -u=testpassword [email protected] myregistrydomain.com:5043

The -p and -u flags are backwards, it should be
       docker login -u=testuser -p=testpassword [email protected] myregistrydomain.com:5043

Signed-off-by: Mary Anthony [email protected]

@codecov-io

codecov-io commented Apr 21, 2016 •

Copy link
Copy Markdown

Current coverage is 53.50%

Merging #1663 into master will decrease coverage by -8.30%

  1. 6 files (not in diff) in ...istry/storage/driver were modified. more
    • Misses +807
    • Partials -95
    • Hits -750
  2. 10 files (not in diff) in registry/storage were modified. more
    • Misses +3
    • Hits -8
  3. 2 files (not in diff) in registry/client were modified. more
    • Misses +2
    • Hits -6
  4. 1 files (not in diff) in registry were modified. more
  5. 4 files (not in diff) in registry were created. more
  6. 2 files (not in diff) in ...istry/storage/driver were deleted. more
  7. 1 files (not in diff) in registry/storage were deleted. more
  8. File ...a1/config_builder.go (not in diff) was modified. more
    • Misses 0
    • Partials 0
    • Hits -2
@@             master      #1663   diff @@
==========================================
  Files           121        122      +1   
  Lines         10578      10683    +105   
  Methods           0          0           
  Messages          0          0           
  Branches          0          0           
==========================================
- Hits           6537       5715    -822   
- Misses         3435       4467   +1032   
+ Partials        606        501    -105   

Powered by Codecov. Last updated by 48aac68...a2ba777

@dmp42

dmp42 commented Apr 21, 2016

Copy link
Copy Markdown
Contributor

LGTM

@dmp42

dmp42 commented Apr 21, 2016

Copy link
Copy Markdown
Contributor

@moxiegirl I'm tempted to remove the docs webhook (it very rarely works). wdyt?

@moxiegirl

moxiegirl commented Apr 21, 2016 •

Copy link
Copy Markdown
Author

@dmp42 It can find problems that are introduced and did recently find some in this very repo which I fixed. I would advise that we get @SvenDowideit to make the CI more robust (less fragile) rather than removing it.

@dmp42

dmp42 commented Apr 21, 2016

Copy link
Copy Markdown
Contributor

@moxiegirl certainly, this is useful - if it works.
Can you figure it out with Sven?
Meanwhile, I suggest we wait before merging any doc PRs until it's fixed (if we want to enforce its usefulness).

@RichardScothern

Copy link
Copy Markdown

The docs checker is very useful for us. I would like to see it be more robust as it does cry wolf a lot. 😄

@moxiegirl

Copy link
Copy Markdown
Author

Hi @dmp42 I'll let him know. I don't direct @SvenDowideit's work but @patrickqnguyen does do that. So, this comment should bring it to both of their attention. This particular error perhaps he can eyeball the console output and figure out this exact problem right away.

Comment thread docs/nginx.md Outdated
Login with a "push" authorized user (using `testuser` and `testpassword`), then tag and push your first image:

docker login -p=testuser -u=testpassword [email protected] myregistrydomain.com:5043
docker login -u=testpassword -p=testuser [email protected] myregistrydomain.com:5043

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like the values are still swapped; should be

-u=testuser -p=testpassword

@moxiegirl

Copy link
Copy Markdown
Author

@thaJeztah Entered

Entering Seb's comment
Fix the flags

Signed-off-by: Mary Anthony <[email protected]>
@thaJeztah

Copy link
Copy Markdown
Member

LGTM, thanks @moxiegirl !

@dmp42
dmp42 merged commit 4ecea4b into distribution:master May 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants