re-enable deployment test#17751
Conversation
|
Weird. I must not have pushed my fix to this. I'll do it tomorrow. |
…m and flakes end-to-end" This reverts commit b374cbd.
083f551 to
551f02f
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
| if len(patches) == 0 { | ||
| allPatchesEmpty := true | ||
| for _, patch := range patches { | ||
| if len(patch.Patch) > 0 { |
There was a problem hiding this comment.
can there be patch '{}'? otherwise lgtm except the debugs
There was a problem hiding this comment.
can there be patch '{}'? otherwise lgtm except the debugs
I don't think that produces the same error. I'm actually wondering if the server changed to reject empty patches...
There was a problem hiding this comment.
other places use constructs like this
if len(patch.Patch) > 0 && string(patch.Patch) != "{}" https://github.com/openshift/origin/blob/master/pkg/oc/cli/cmd/set/triggers.go#L332-L335
There was a problem hiding this comment.
CreateTwoWayMergePatch looks sane in 1.8 and 1.9, both giving `{}´ for no changes.
|
/hold fix looks ok |
|
/retest |
Tested empty strategic merge patch with a local cluster via With 1.8: With 1.9: |
|
flake #17787 |
551f02f to
56ac0bf
Compare
I'm wondering |
|
/retest |
|
/retest |
|
Automatic merge from submit-queue. |
fixes #17750.
Adding debugging for a start.