From 27c59f7b30e97597eefabd60b30f30737d5a59ea Mon Sep 17 00:00:00 2001 From: James Phillips Date: Thu, 10 Sep 2015 14:53:00 -0700 Subject: [PATCH] Adds missing token to maint unit test. --- command/maint_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/maint_test.go b/command/maint_test.go index 2793051306..0ac534e13a 100644 --- a/command/maint_test.go +++ b/command/maint_test.go @@ -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)