Cleanup: simplify flag parsing and merge into mflag (rebase ++)#8158
Cleanup: simplify flag parsing and merge into mflag (rebase ++)#8158SvenDowideit wants to merge 7 commits intomoby:masterfrom
Conversation
|
gofmt failed |
faa36d4 to
0e7e99e
Compare
|
(I haven't closed the original because i'm not 100% sure the somewhat large number of changes I've had to make are right) looks like I'm going to need some help - there's an integration test failure that I don't know enough about: |
|
mmm, and then I ran the tests again, and they passed.... |
There was a problem hiding this comment.
This should be removed. It was moved to api/client/commands.go
There was a problem hiding this comment.
@SvenDowideit Arggg, forgot to remove this one. Sorry about that! Can you amend?
|
@SvenDowideit I'll send you a PR, it will be easier than commenting. |
|
@tiborvass awesome, thanks :) |
43bd28c to
968ab8e
Compare
|
LGTM |
There was a problem hiding this comment.
Could you do exact check of error? We have already one false-pass test where we don't check error.
There was a problem hiding this comment.
I vote for a simple: strings.Contains(out, "Conflicting options")
Also, the Test has to start with TestRun.
|
LGTM |
There was a problem hiding this comment.
@SvenDowideit I forgot to remove all this block which is redundant since we already set those fields when creating the config variable.
Signed-off-by: Solomon Hykes <[email protected]> Docker-DCO-1.1-Signed-off-by: Solomon Hykes <[email protected]> (github: SvenDowideit)
Signed-off-by: Solomon Hykes <[email protected]> Docker-DCO-1.1-Signed-off-by: Solomon Hykes <[email protected]> (github: SvenDowideit)
Signed-off-by: Solomon Hykes <[email protected]> Docker-DCO-1.1-Signed-off-by: Solomon Hykes <[email protected]> (github: SvenDowideit)
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <[email protected]> (github: SvenDowideit)
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <[email protected]> (github: SvenDowideit)
Signed-off-by: Tibor Vass <[email protected]> Docker-DCO-1.1-Signed-off-by: Tibor Vass <[email protected]> (github: SvenDowideit)
|
updating, building and testing. - |
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <[email protected]> (github: SvenDowideit)
968ab8e to
406f419
Compare
|
|
Ping @SvenDowideit |
this is to get #7551 updated for merge.
I've added the missing non-global validation functions, and rebased