Merge pull request #328 from keel-hq/feature/helm_approvals_deadline
fixed a problem with helm approvals not getting default deadlineadd-logo-keel-chart 0.13.0
commit
ac6f5d4184
|
@ -51,6 +51,10 @@ func (p *Provider) isApproved(event *types.Event, plan *UpdatePlan) (bool, error
|
|||
if err != nil {
|
||||
if err == cache.ErrNotFound {
|
||||
|
||||
if plan.Config.ApprovalDeadline == 0 {
|
||||
plan.Config.ApprovalDeadline = types.KeelApprovalDeadlineDefault
|
||||
}
|
||||
|
||||
// creating new one
|
||||
approval := &types.Approval{
|
||||
Provider: types.ProviderTypeHelm,
|
||||
|
|
Loading…
Reference in New Issue