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

fix: set delayedexpansion in liveness.cmd to fix incorrect 15 mins confguration check #568

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

bragi92
Copy link
Member

@bragi92 bragi92 commented Aug 18, 2023

Info on EnableDelayedExpansion : https://ss64.com/nt/delayedexpansion.html

The script was properly setting the value of 'azmonContainerStartTime' previously but only after you set EnableDelayedExpansion will it be able to use the updated value in the if condition present and thus calculate the durationInMinutes properly. This PR fixes a bug where the check for the configuration was failing as durationInMinutes was not being set properly.

Verification image via backdoor deployment: 6.7.4-kaveesh-windows-liveness-fix-08-18-2023-23975508

@bragi92 bragi92 marked this pull request as ready for review August 18, 2023 21:53
@bragi92 bragi92 requested a review from a team as a code owner August 18, 2023 21:53
@bragi92 bragi92 merged commit a972cad into main Aug 22, 2023
10 checks passed
@bragi92 bragi92 deleted the kaveesh/windows_liveness_fix branch December 20, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants