We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For some operations the operation poll doesn't actually return an error but there is an error on the field on the op itself.
"You can see that a 200 OK was returned and the operation has status=DONE, but there's an "error" field on the operation you should be looking at.
So your code should probably look at pollOp.error in addition to err.
There are additional fields "httpErrorStatusCode" and "httpErrorMessage". Perhaps it should be 403 instead of 400, but that's a separate issue."
Kubernetes recently solved by:
if op.Error != nil && len(op.Error.Errors) > 0 && op.Error.Errors[0] != nil { e := op.Error.Errors[0] o.err = &GCEOperationError{HTTPStatusCode: op.HTTPStatusCode, Code: e.Code, Message: e.Message} }
The text was updated successfully, but these errors were encountered:
Merge pull request kubernetes-sigs#53 from openshift-bot/art-consiste…
483e46f
…ncy-openshift-4.16-ose-gcp-pd-csi-driver OCPBUGS-24886: Updating ose-gcp-pd-csi-driver-container image to be consistent with ART
No branches or pull requests
For some operations the operation poll doesn't actually return an error but there is an error on the field on the op itself.
"You can see that a 200 OK was returned and the operation has status=DONE, but there's an "error" field on the operation you should be looking at.
So your code should probably look at pollOp.error in addition to err.
There are additional fields "httpErrorStatusCode" and "httpErrorMessage". Perhaps it should be 403 instead of 400, but that's a separate issue."
Kubernetes recently solved by:
The text was updated successfully, but these errors were encountered: