aws-slack-clickoops-watcher icon indicating copy to clipboard operation
aws-slack-clickoops-watcher copied to clipboard

Errors with jmespath/visitor.py

Open switchdk opened this issue 3 years ago • 1 comments

Hi,

The Lambda function for clickops-notifier throws these warnings. Should they be addressed/investigated?

/opt/python/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?

and

if x is 0 or x is 1:

This Lambda function has been deployed using https://github.com/cloudandthings/terraform-aws-clickops-notifier/releases/tag/v1.0.6.1

Thanks

switchdk avatar Mar 28 '22 11:03 switchdk

Should this issue be moved to the https://github.com/cloudandthings/terraform-aws-clickops-notifier ?

switchdk avatar Mar 29 '22 08:03 switchdk