-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix #2 for compat commit handling of --changes #12951
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@leahneukirchen PTAL |
Tested with |
How are I think you explicitly need to split on newline. (Also typo in commit subject). |
@rhatdan this is going to sound really stupid, but here's how I do most of my testing with the apiv2 tests: -t GET images/$iid/json 200 \
+t GET images/$iid/json 200 sdf \ The
And if you look really closely (or, even better, use tmux's in-page search) you will see:
UPDATE: I agree with @leahneukirchen , it looks like you're assuming that someone/something will do the newline-splitting for you into multiple |
My question to both @edsantiago and @leahneukirchen is when I run the docker client against what I have they come pre-split so perhaps I need to split individuals and/or docker has expanded the way it handles this. |
Ok now I split and handle multiple changes which I get from Docker. |
Just thinking out loud, and probably not very usefully because it's been a hell of a long day and week, but... could it be one of those CR vs NL vs CRNL things? maybe some combination of the docker client sending it one way, and the server interpreting those as "oh I need to split those suckahs"? |
PS @rhatdan lint is griping
|
The docker client will send one There is code out there that uses the API with multiple newline-separated statements, so it should be supported too. The patch LGTM now. Thanks! |
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
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.
/lgtm
Signed-off-by: Daniel J Walsh dwalsh@redhat.com