credentials/alts: fix infinite recursion bug [in custom error type] (#1906)

This commit is contained in:
Joshua Humphries 2018-03-07 16:50:30 -05:00 committed by Cesar Ghali
parent 207e2760fd
commit 0843fd0ee0
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ const (
type platformError string
func (k platformError) Error() string {
return fmt.Sprintf("%v is not supported", k)
return fmt.Sprintf("%s is not supported", string(k))
}
var (