diff --git a/kuma/oam.go b/kuma/oam.go index 3baa79aa..8109486e 100644 --- a/kuma/oam.go +++ b/kuma/oam.go @@ -202,7 +202,7 @@ func mergeErrors(errs []error) error { errMsgs = append(errMsgs, err.Error()) } - return fmt.Errorf(strings.Join(errMsgs, "\n")) + return fmt.Errorf("%s", strings.Join(errMsgs, "\n")) } func mergeMsgs(strs []string) string {