Skip to content

Commit

Permalink
fix app filter
Browse files Browse the repository at this point in the history
  • Loading branch information
robertchoi80 committed Apr 5, 2022
1 parent a5e2219 commit e06b7f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tks-cluster/remove-usercluster-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ spec:
appgroup="{{workflow.parameters.app_prefix}}-${appgroup}"
fi
echo "(after) appgroup: $appgroup"
app_list=$(./argocd app list -l ${appgroup} --output name)
app_list=$(./argocd app list -l app=${appgroup} --output name)
echo -e "app list:\n $app_list"
if [[ $? -eq 0 && -n $app_list ]]; then
# Disable auto-sync
Expand Down

0 comments on commit e06b7f4

Please sign in to comment.