mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-23 17:28:44 +00:00
Hooks result should have Running phase by default (given we don't have Pending state) (#1037)
This commit is contained in:
parent
a36af99dcd
commit
cf486a480e
1 changed files with 1 additions and 0 deletions
|
|
@ -311,6 +311,7 @@ func newHookStatus(hook *unstructured.Unstructured, hookType appv1.HookType) app
|
|||
Group: gvk.Group,
|
||||
Version: gvk.Version,
|
||||
HookType: hookType,
|
||||
HookPhase: appv1.OperationRunning,
|
||||
Namespace: hook.GetNamespace(),
|
||||
}
|
||||
if isBatchJob(gvk) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue