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

If conditional condition never met, broken function #14

Open
SN3-K opened this issue Jul 11, 2023 · 0 comments
Open

If conditional condition never met, broken function #14

SN3-K opened this issue Jul 11, 2023 · 0 comments

Comments

@SN3-K
Copy link

SN3-K commented Jul 11, 2023

https://github.com/ascendcorp/grafana-snapshot/blob/2a2214662fb6f92702a60843358b462aafd5124e/GrafanaSnapshot/feature/snapshots.py#L53C12-L53C12

Current we are searching for the key's value in the snapshot's name attribute, this condition will never be met and should be changed to something like the following:

if key in snapshot["key"]:

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

No branches or pull requests

1 participant