diff --git a/command/acl/authmethod/formatter.go b/command/acl/authmethod/formatter.go index 2628f55805..35b428c7fc 100644 --- a/command/acl/authmethod/formatter.go +++ b/command/acl/authmethod/formatter.go @@ -80,7 +80,7 @@ func (f *prettyFormatter) FormatAuthMethod(method *api.ACLAuthMethod) (string, e if err != nil { return "", fmt.Errorf("Error formatting auth method configuration: %s", err) } - buffer.WriteString(string(output)) + buffer.Write(output) return buffer.String(), nil }