Skip to content

Commit

Permalink
Adds missing token to maint unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Phillips committed Sep 10, 2015
1 parent 897f8a3 commit 27c59f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/maint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ func TestMaintCommandRun_NoArgs(t *testing.T) {
if err := a1.agent.AddService(service, nil, false, ""); err != nil {
t.Fatalf("err: %v", err)
}
if err := a1.agent.EnableServiceMaintenance("test", "broken 1"); err != nil {
if err := a1.agent.EnableServiceMaintenance("test", "broken 1", ""); err != nil {
t.Fatalf("err: %s", err)
}

// Enable node maintenance
a1.agent.EnableNodeMaintenance("broken 2")
a1.agent.EnableNodeMaintenance("broken 2", "")

// Run consul maint with no args (list mode)
ui := new(cli.MockUi)
Expand Down

0 comments on commit 27c59f7

Please sign in to comment.