Merge pull request #460 from docker/fix-lint

Fix linting
This commit is contained in:
Djordje Lukic 2020-08-11 17:43:53 +02:00 committed by GitHub
commit f3aeb318f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ func runRemove(ctx context.Context, args []string, force bool) error {
func formatErrors(errs []error) string {
messages := make([]string, len(errs))
for i, err := range errs {
messages[i] = "Error: "+err.Error()
messages[i] = "Error: " + err.Error()
}
return strings.Join(messages, "\n")
}

View File

@ -85,7 +85,7 @@ func runRm(ctx context.Context, args []string, opts rmOpts) error {
func formatErrors(errs []error) string {
messages := make([]string, len(errs))
for i, err := range errs {
messages[i] = "Error: "+err.Error()
messages[i] = "Error: " + err.Error()
}
return strings.Join(messages, "\n")
}