Skip to content

Commit

Permalink
Fix force deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
micxer committed Dec 2, 2022
1 parent b0c7f8d commit 7e94423
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 7e94423

Please sign in to comment.