mirror of https://github.com/grpc/grpc-go.git
credentials/alts: fix infinite recursion bug [in custom error type] (#1906)
This commit is contained in:
parent
207e2760fd
commit
0843fd0ee0
|
@ -44,7 +44,7 @@ const (
|
||||||
type platformError string
|
type platformError string
|
||||||
|
|
||||||
func (k platformError) Error() string {
|
func (k platformError) Error() string {
|
||||||
return fmt.Sprintf("%v is not supported", k)
|
return fmt.Sprintf("%s is not supported", string(k))
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in New Issue