mirror of https://github.com/docker/compose.git
Fix linting
This commit is contained in:
parent
2b9da841ed
commit
611667d252
|
@ -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")
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue