Add gosimple linter (#9590)

This commit is contained in:
Kris Hicks
2020-12-09 11:05:18 -08:00
committed by GitHub
parent 8333ab9f80
commit 85ed8ddd4f
77 changed files with 111 additions and 186 deletions

View File

@@ -178,7 +178,7 @@ func (f *AllocFSCommand) Run(args []string) int {
}
// Query the allocation info
if len(allocID) == 1 {
f.Ui.Error(fmt.Sprintf("Alloc ID must contain at least two characters."))
f.Ui.Error("Alloc ID must contain at least two characters.")
return 1
}