mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
Add gosimple linter (#9590)
This commit is contained in:
@@ -223,7 +223,7 @@ func (c *NodeDrainCommand) Run(args []string) int {
|
||||
|
||||
// Check if node exists
|
||||
if len(nodeID) == 1 {
|
||||
c.Ui.Error(fmt.Sprintf("Identifier must contain at least two characters."))
|
||||
c.Ui.Error("Identifier must contain at least two characters.")
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user