From 7e3188a4eaa3c85f06c2dc42fd3c043f23c06681 Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Tue, 19 Nov 2019 16:05:53 -0600 Subject: [PATCH] CLI: Remove duplicated error output (#6738) --- command/alloc_exec.go | 1 - command/alloc_logs.go | 1 - 2 files changed, 2 deletions(-) diff --git a/command/alloc_exec.go b/command/alloc_exec.go index 71ed7f4a1..c19bca29a 100644 --- a/command/alloc_exec.go +++ b/command/alloc_exec.go @@ -194,7 +194,6 @@ func (l *AllocExecCommand) Run(args []string) int { if err != nil { l.Ui.Error(err.Error()) - l.Ui.Error("\nPlease specify the task.") return 1 } } diff --git a/command/alloc_logs.go b/command/alloc_logs.go index 2717a01ab..5865f955b 100644 --- a/command/alloc_logs.go +++ b/command/alloc_logs.go @@ -190,7 +190,6 @@ func (l *AllocLogsCommand) Run(args []string) int { if err != nil { l.Ui.Error(err.Error()) - l.Ui.Error("\nPlease specify the task.") return 1 } }