Skip to content

Commit

Permalink
Fix in condition deciding when resources are to be cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
pwliwanow committed Jun 29, 2020
1 parent fb47a24 commit f73b433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/job/job_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (r *ReconcileJob) Reconcile(request reconcile.Request) (reconcile.Result, e
return reconcile.Result{}, err
}

if fencingMode != "delete" || fencingMode != "none" {
if fencingMode != "delete" && fencingMode != "none" {
// Setting new condition
var newConditions []v1.NodeCondition

Expand Down

0 comments on commit f73b433

Please sign in to comment.