Skip to content

Commit

Permalink
[patch] Check for no status on subscription - gitops (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfiea authored Sep 12, 2024
1 parent 35ea966 commit 71f07f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions image/cli/mascli/templates/gitops/bootstrap/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,10 @@ spec:
end
hs.status = "Progressing"
hs.message = "Unknown"
if obj.status.state ~= nil then
hs.message = obj.status.state
if obj.status ~= nil then
if obj.status.state ~= nil then
hs.message = obj.status.state
end
end
return hs
Expand Down

0 comments on commit 71f07f6

Please sign in to comment.