Skip to content

Commit

Permalink
Quick fix: version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmontufar committed Jun 29, 2024
1 parent dc255e4 commit 7930b44
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions checkDefenderUpdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,8 @@ def main():
deleteDeamonSetResources(core_v1_api, apps_v1_api, rbac_v1_api, custom_api)
applyYAML(core_v1_api, apps_v1_api, rbac_v1_api, custom_api, DEAMONSET_FILE)
else:
print(f"{datetime.now()} Defender in incorrect status. Cannot rollback due to theres no previous version")
os.remove(NEW_DEAMONSET_FILE)
print(f"{datetime.now()} Defender in incorrect status. Cannot rollback due to theres no previous version")
if __name__ == "__main__":
main()

0 comments on commit 7930b44

Please sign in to comment.