-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Make .dockercfg with json.MarshallIndent #10143
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
Conversation
3018164
to
7c51091
Compare
// copy the bytes into the commands stdin along with a new line | ||
go io.Copy(in, buf) | ||
io.WriteString(in, "buffer test string \n") |
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.
I wonder if this can be just cmd.Stdin = bytes.NewBufferString("buffer test string \n")
and Run
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.
Yup! Updated.
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.
even better 💃
eba1626
to
58d1b1d
Compare
Drone is dead, lol |
you have a bad rebase or something? |
or this new change doesnt work and the first original change did...? idk |
@jfrazelle Something with drone, no? |
heh, other pr works :) |
Works locally. |
I literally have no idea other PRs are working |
can you try rebasing or something? it's almost like you have michaels libcontainer PR patch which actually is a bug i can reproduce locally |
ok im trying one more time |
58d1b1d
to
f1524a2
Compare
This is NOT drone. It does NOT work for me locally. |
do not fret however we think/know this is part of the weird go binary size bug we are looking into ;) keep the faith and have a good weekend |
if you rebase on master it will be fixed, sorry! |
Fixes moby#10129 Makes the .dockercfg more human parsable. Also cleaned up the (technically) racey login test. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
f1524a2
to
b8f7526
Compare
Rebased |
LGTM |
1 similar comment
LGTM |
Make .dockercfg with json.MarshallIndent
Fixes #10129
Makes the .dockercfg more human parsable.
Also cleaned up the (technically) racey login test.