From 0843fd0ee0d3e07dc0f73ba681ed50433ce3eb76 Mon Sep 17 00:00:00 2001 From: Joshua Humphries Date: Wed, 7 Mar 2018 16:50:30 -0500 Subject: [PATCH] credentials/alts: fix infinite recursion bug [in custom error type] (#1906) --- credentials/alts/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/credentials/alts/utils.go b/credentials/alts/utils.go index cd5be2e6..86d0a213 100644 --- a/credentials/alts/utils.go +++ b/credentials/alts/utils.go @@ -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 (