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

Returns unmatched error when updating hpa object failed #2719

Closed
Shitaibin opened this issue Mar 7, 2022 · 0 comments · Fixed by #2677
Closed

Returns unmatched error when updating hpa object failed #2719

Shitaibin opened this issue Mar 7, 2022 · 0 comments · Fixed by #2677
Labels
bug Something isn't working

Comments

@Shitaibin
Copy link
Contributor

Report

In updateHPAIfNeeded, it should return error of update hpa object not newHPAForScaledObject, if updating failed.

Expected Behavior

returns error of updating instead of newHPAForScaledObject

Actual Behavior

returns the error of newHPAForScaledObject

Steps to Reproduce the Problem

  1. deploy a scale object
  2. changing the hpa configureations of the scale object
  3. occasionally, mismatched errors are logged

Logs from KEDA operator

example

KEDA Version

2.6.1

Kubernetes Version

1.23

Platform

Any

Scaler Details

No response

Anything else?

No response

@Shitaibin Shitaibin added the bug Something isn't working label Mar 7, 2022
Shitaibin added a commit to Shitaibin/keda that referenced this issue Mar 7, 2022
Shitaibin added a commit to Shitaibin/keda that referenced this issue Mar 16, 2022
Shitaibin added a commit to Shitaibin/keda that referenced this issue Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant