Skip to content

Commit

Permalink
Fix force deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
micxer committed Feb 10, 2023
1 parent fd2cfd4 commit 94fb558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dao/generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (g *Generic) Delete(ctx context.Context, path string, propagation *metav1.D
}

if force {
var defaultKillGrace int64 = 1
var defaultKillGrace int64 = 0
opts.GracePeriodSeconds = &defaultKillGrace
}

Expand Down

0 comments on commit 94fb558

Please sign in to comment.