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

$change resets to 0 at end of loop. #1

Open
TDGalea opened this issue Dec 5, 2020 · 1 comment
Open

$change resets to 0 at end of loop. #1

TDGalea opened this issue Dec 5, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@TDGalea
Copy link
Owner

TDGalea commented Dec 5, 2020

Change tracking is used to decide whether to run functions notify_success or notify_failure when an update to GoDaddy record(s) are made. Currently, the variable used to track this is being reset to 0 once the main until loop finishes. As such, neither of the functions ever run.

@TDGalea TDGalea added the bug Something isn't working label Dec 5, 2020
@Git-LW
Copy link

Git-LW commented Jan 20, 2023

Just write the value to a file, INSIDE the until ... done loop, and then read the file, to get the value, outside the loop.

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
None yet
Development

No branches or pull requests

2 participants