Skip to content
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

Workerqueue IsConflict needed to check error Cause #1310

Merged
merged 2 commits into from
Feb 4, 2020

Conversation

markmandel
Copy link
Member

Because errors are often wrapped, when checking Kubernetes error types on anything other than errors comming straight from Kubernetes, we should be using errors.Cause(err) to find the root error.

Otherwise, this check continues to passes down to the error handler, which defeated the purposes of the original fix.

Because errors are often wrapped, when checking Kubernetes error types
on anything other than errors comming straight from Kubernetes, we
should be using `errors.Cause(err)` to find the root error.

Otherwise, this check continues to passes down to the error handler,
which defeated the purposes of the original fix.
@markmandel markmandel added kind/bug These are bugs. area/operations Installation, updating, metrics etc labels Feb 1, 2020
@markmandel markmandel changed the title Workerqueue IsConflixt needed to check error Cause Workerqueue IsConflict needed to check error Cause Feb 1, 2020
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 9cd8645e-f147-4609-b094-e2a79ef75eda

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1310/head:pr_1310 && git checkout pr_1310
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.4.0-8395b08

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markmandel, roberthbailey

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:
  • OWNERS [markmandel,roberthbailey]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 20636f7b-d87b-4099-b915-185941c9ce99

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: a60b1408-ba83-44a1-80d0-74df8a1c095f

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 08f93941-ff36-4459-8809-c5a211626e47

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: fb3e58bd-2ed7-442a-abbf-a40c22c36fdf

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1310/head:pr_1310 && git checkout pr_1310
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.4.0-98c3d5f

@markmandel markmandel merged commit 91167eb into googleforgames:master Feb 4, 2020
@markmandel markmandel deleted the bug/queue-conflict branch February 4, 2020 04:03
@markmandel markmandel added this to the 1.4.0 milestone Feb 26, 2020
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
Because errors are often wrapped, when checking Kubernetes error types
on anything other than errors comming straight from Kubernetes, we
should be using `errors.Cause(err)` to find the root error.

Otherwise, this check continues to passes down to the error handler,
which defeated the purposes of the original fix.

Co-authored-by: Robert Bailey <robertbailey@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/operations Installation, updating, metrics etc kind/bug These are bugs. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants