Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
preetapan committed Mar 28, 2018
1 parent 33e57bf commit 501b0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scheduler/reconcile_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ func TestAllocSet_filterByTainted(t *testing.T) {
"migrating1": {
ID: "migrating1",
ClientStatus: structs.AllocClientStatusRunning,
DesiredTransition: structs.DesiredTransition{helper.BoolToPtr(true)},
DesiredTransition: structs.DesiredTransition{Migrate: helper.BoolToPtr(true)},
Job: batchJob,
NodeID: "draining",
},
// Non-terminal alloc with migrate=true should migrate on an unknown node
"migrating2": {
ID: "migrating2",
ClientStatus: structs.AllocClientStatusRunning,
DesiredTransition: structs.DesiredTransition{helper.BoolToPtr(true)},
DesiredTransition: structs.DesiredTransition{Migrate: helper.BoolToPtr(true)},
Job: batchJob,
NodeID: "nil",
},
Expand Down

0 comments on commit 501b0ee

Please sign in to comment.