Hello 👋 There is possibility for minor confusion when certain error messages are printed, for example:
matching key not found in keytab. Looking for [HTTP svc_prd_tf_ad.example.com] realm: EXAMPLE.COM kvno: 0 etype: 18
The underlying formatting code is converting the principal name (stored as []string type) using the %v format verb, which gives the unexpected bracket and spaced output. Consumers may incorrectly guess that implementation code prior to this call with the error message have done this conversion, especially if they are unfamiliar with Go and string formatting.
Version
Description
Hello 👋 There is possibility for minor confusion when certain error messages are printed, for example:
The underlying formatting code is converting the principal name (stored as
[]string
type) using the%v
format verb, which gives the unexpected bracket and spaced output. Consumers may incorrectly guess that implementation code prior to this call with the error message have done this conversion, especially if they are unfamiliar with Go and string formatting.References