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

Handle no metrics found for AWS Cloudwatch #2345

Merged
merged 4 commits into from
Nov 25, 2021
Merged

Conversation

allupaku
Copy link
Contributor

@allupaku allupaku commented Nov 25, 2021

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Tests have been added
  • A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
  • A PR is opened to update the documentation on (repo) (if applicable)
  • Changelog has been updated

Fixes #2302

    (a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license indicated
    in the file; or

        (b) The contribution is based upon previous work that, to the
        best of my knowledge, is covered under an appropriate open
        source license and I have the right under that license to submit
        that work with modifications, whether created in whole or in
        part by me, under the same open source license (unless I am
        permitted to submit under a different license), as indicated in
        the file; or

            (c) The contribution was provided directly to me by some
            other person who certified (a), (b) or (c) and I have not
            modified it.

                (d) I understand and agree that this project and the
                contribution are public and that a record of the
                contribution (including all personal information I
                submit with it, including my sign-off) is maintained
                indefinitely and may be redistributed consistent with
                this project or the open source license(s) involved.

Signed-off-by: Althaf Mohamed <amohamed@duosecurity.com>
@tomkerkhove tomkerkhove changed the title Fixes #2302 Handle no metrics found for AWS Cloudwatch Nov 25, 2021
@tomkerkhove
Copy link
Member

Can you please update the changelog and see if we can add a unit test please?

@zroubalik
Copy link
Member

@allupaku we are planning to do a new release (2.5.0) in a couple of hours, I think this could go in, if you add unit test and update the Changelog

@allupaku allupaku requested a review from a team as a code owner November 25, 2021 09:19
Signed-off-by: Althaf Mohamed <amohamed@duosecurity.com>
@allupaku
Copy link
Contributor Author

Added change log and test case

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the comment (and it's not a blocker), LGTM

CHANGELOG.md Outdated Show resolved Hide resolved
pkg/scalers/aws_cloudwatch_test.go Outdated Show resolved Hide resolved
Althaf Mohamed added 2 commits November 25, 2021 09:33
Signed-off-by: Althaf Mohamed <amohamed@duosecurity.com>
Signed-off-by: Althaf Mohamed <amohamed@duosecurity.com>
Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Thanks a lot for your contribution ❤️

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zroubalik zroubalik merged commit 3d711b7 into kedacore:main Nov 25, 2021
@zroubalik zroubalik added this to the v2.5.0 milestone Nov 25, 2021
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.

Cloudwatch scaler not working when there's no metrics
4 participants