Skip to content

Commit

Permalink
Merge pull request #4 from pwliwanow/master
Browse files Browse the repository at this point in the history
Fix in condition deciding when resources are to be cleaned up
  • Loading branch information
kvaps authored Jun 29, 2020
2 parents fb47a24 + f73b433 commit 4be36eb
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 4be36eb

Please sign in to comment.