From d53aa72251085e0a24f173ce35509ef6035313c6 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Mon, 16 Nov 2015 18:21:51 -0800 Subject: [PATCH] Get rid of incorrect length check --- command/alloc_status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/alloc_status.go b/command/alloc_status.go index 74c0b138b..63288a89d 100644 --- a/command/alloc_status.go +++ b/command/alloc_status.go @@ -52,7 +52,7 @@ func (c *AllocStatusCommand) Run(args []string) int { // Check that we got exactly one allocation ID args = flags.Args() - if len(args) == 0 || len(args) > 2 { + if len(args) == 0 { c.Ui.Error(c.Help()) return 1 }