CLI: Remove duplicated error output (#6738)
This commit is contained in:
parent
56d9005b07
commit
7e3188a4ea
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue