Skip to content

UPSTREAM: 23145: use versioned object as schema when computing patch on conflict retry - #8098

Merged
openshift-bot merged 2 commits into
openshift:masterfrom
liggitt:patch-internal-version
Mar 19, 2016
Merged

openshift-bot merged 2 commits into
openshift:masterfrom
liggitt:patch-internal-version

Conversation

@liggitt

@liggitt liggitt commented Mar 17, 2016

Copy link
Copy Markdown
Contributor

fixes #6435

@liggitt liggitt mentioned this pull request Mar 17, 2016
@liggitt

liggitt commented Mar 17, 2016

Copy link
Copy Markdown
Contributor Author

this only worked upstream because their internal types still have json tags and still (mostly?) match field structures between internal and external types

need to add a test for origin types

return nil, err
}

currentPatch, err := strategicpatch.CreateStrategicMergePatch(originalObjJS, currentObjectJS, patcher.New())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I assume this needs to be in Kube 1.2.1 as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah, will open upstream and tag

@liggitt liggitt changed the title UPSTREAM: TODO: use versioned object as schema when computing patch on conflict retry UPSTREAM: 23145: use versioned object as schema when computing patch on conflict retry Mar 17, 2016
@liggitt

liggitt commented Mar 17, 2016

Copy link
Copy Markdown
Contributor Author

[test]

@liggitt

liggitt commented Mar 17, 2016

Copy link
Copy Markdown
Contributor Author

@ncdc PTAL

@liggitt liggitt mentioned this pull request Mar 17, 2016
78 of 85 tasks
@liggitt

liggitt commented Mar 17, 2016

Copy link
Copy Markdown
Contributor Author

cc @deads2k

@liggitt

liggitt commented Mar 18, 2016

Copy link
Copy Markdown
Contributor Author

Heh, I think my test exceeded the max patch retry limit

@liggitt

liggitt commented Mar 18, 2016

Copy link
Copy Markdown
Contributor Author

@deads2k upstream has LGTM, tag if you're happy with the origin test

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to f0f5ff3

@deads2k

deads2k commented Mar 18, 2016

Copy link
Copy Markdown
Contributor

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/2312/) (Image: devenv-rhel7_3782)

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to f0f5ff3

@openshift-bot

Copy link
Copy Markdown
Contributor

openshift-bot pushed a commit that referenced this pull request Mar 19, 2016
@openshift-bot
openshift-bot merged commit b028c4e into openshift:master Mar 19, 2016
@liggitt
liggitt deleted the patch-internal-version branch March 21, 2016 18:44
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.

Flake in cmd test

4 participants