Skip to content

Commit

Permalink
CR-23224 create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim-kharin-codefresh committed Apr 16, 2024
1 parent 7598c10 commit a0ea9b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions incubating/argo-cd-sync/argocd_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ def application_autosync(ingress_host):
logging.debug("Application Sync policy result: %s", err)
sys.exit(1)

#logging.debug("App sync Policy: ", result['applicationProxyQuery']['spec']['syncPolicy']['automated'])
if result['applicationProxyQuery']['spec']['syncPolicy'] == None or result['applicationProxyQuery']['spec']['syncPolicy']['automated'] == None:
logging.debug("App sync Policy: ", result['applicationProxyQuery']['spec']['syncPolicy']['automated'])
if result['applicationProxyQuery']['spec']['syncPolicy']['automated'] == None:
return False
else:
return True
Expand Down

0 comments on commit a0ea9b3

Please sign in to comment.