Commit 3b0fdbff authored by Daniel Martí's avatar Daniel Martí Committed by Sander van Harmelen

Remove unnecessary fmt.Sprintf call (#153)

parent 5b950c04
...@@ -518,7 +518,7 @@ func parseError(raw interface{}) string { ...@@ -518,7 +518,7 @@ func parseError(raw interface{}) string {
errs = append(errs, fmt.Sprintf("{%s: %s}", k, parseError(v))) errs = append(errs, fmt.Sprintf("{%s: %s}", k, parseError(v)))
} }
sort.Strings(errs) sort.Strings(errs)
return fmt.Sprintf("%s", strings.Join(errs, ", ")) return strings.Join(errs, ", ")
default: default:
return fmt.Sprintf("failed to parse unexpected error type: %T", raw) return fmt.Sprintf("failed to parse unexpected error type: %T", raw)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment