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

[v2] use patch to update Status.LastActiveTime #755

Merged
merged 1 commit into from
Apr 21, 2020
Merged

Conversation

zroubalik
Copy link
Member

Signed-off-by: Zbynek Roubalik zroubali@redhat.com

if we use client.Status().Patch() instead of client.Status().Update() we shouldn't hit the issue with modifying old resource anymore. Pach is merging only those fields that were updated. I have tested it and it seems like it is working correctly. We can revert back to the loop mechanism if there are going to be any issues.

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
@ahmelsayed ahmelsayed merged commit 77154c7 into kedacore:v2 Apr 21, 2020
zroubalik added a commit to zroubalik/keda that referenced this pull request Apr 27, 2020
zroubalik added a commit to zroubalik/keda that referenced this pull request May 20, 2020
zroubalik added a commit to zroubalik/keda that referenced this pull request Jun 17, 2020
zroubalik added a commit to zroubalik/keda that referenced this pull request Jul 7, 2020
SpiritZhou pushed a commit to SpiritZhou/keda that referenced this pull request Jul 18, 2023
…#755)

* Added alternative expression field in AWS CloudWatch scaler

Signed-off-by: Dekel Barzilay <dekelev@gmail.com>

* Added alternative expression field in AWS CloudWatch scaler

Signed-off-by: Dekel Barzilay <dekelev@gmail.com>
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.

2 participants