mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
func: add the correct value for costumer feedback on var error (#26601)
This commit is contained in:
committed by
GitHub
parent
da4cf07ff4
commit
e7868639d6
@@ -144,7 +144,7 @@ func (c *VarGetCommand) Run(args []string) int {
|
||||
fmt.Print(v)
|
||||
return 0
|
||||
} else {
|
||||
c.Ui.Error(fmt.Sprintf("Variable does not contain %q item", args[1]))
|
||||
c.Ui.Error(fmt.Sprintf("Variable does not contain %q item", item))
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user