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
STOR-1574: Bump library-go #152
STOR-1574: Bump library-go #152
Conversation
@jsafrane: This pull request references STOR-1574 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane 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 |
39469fe
to
9c6f1d9
Compare
Update openshift/library-go and openshift/api to today's master. Update k8s deps to v0.29.0.
9c6f1d9
to
db58087
Compare
/label px-approved |
@jsafrane: This pull request references STOR-1574 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/retest-required |
@jsafrane: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
||
func (c OperatorClient) GetOperatorStateWithQuorum(ctx context.Context) (*operatorv1.OperatorSpec, *operatorv1.OperatorStatus, string, error) { | ||
instance, err := c.Client.Storages().Get(ctx, globalConfigName, metav1.GetOptions{}) | ||
if err != nil { | ||
return nil, nil, "", err | ||
} | ||
|
||
return &instance.Spec.OperatorSpec, &instance.Status.OperatorStatus, instance.GetResourceVersion(), nil | ||
} |
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.
What is this for? I can't find where it's called, maybe I'm missing something.
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.
Ah nevermind, now I see it
vsphere-problem-detector/vendor/github.com/openshift/library-go/pkg/operator/v1helpers/helpers.go
Line 175 in db58087
_, oldStatus, resourceVersion, err = client.GetOperatorStateWithQuorum(ctx) |
/lgtm |
cc28e79
into
openshift:master
[ART PR BUILD NOTIFIER] This PR has been included in build ose-vsphere-problem-detector-container-v4.16.0-202401242108.p0.gcc28e79.assembly.stream for distgit vsphere-problem-detector. |
Update openshift/library-go and openshift/api to today's master. Update k8s deps to v0.29.0.
@openshift/storage