cleanup unused code and fix t.Fatal usage in goroutine in testing (#11694)

This commit is contained in:
Mayo
2021-09-30 19:33:14 +08:00
committed by GitHub
parent d58b9c36e1
commit b834c518e2
20 changed files with 91 additions and 91 deletions

View File

@@ -83,7 +83,7 @@ func (c *NamespaceListCommand) Run(args []string) int {
}
if secret == nil {
c.UI.Error(fmt.Sprintf("No namespaces found"))
c.UI.Error("No namespaces found")
return 2
}
@@ -97,7 +97,7 @@ func (c *NamespaceListCommand) Run(args []string) int {
}
if !ok {
c.UI.Error(fmt.Sprintf("No entries found"))
c.UI.Error("No entries found")
return 2
}