From 996ca136834d1a7feb5f0d663ddcddb0886dc811 Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Mon, 15 Nov 2021 12:32:22 -0800 Subject: [PATCH] chore: ok Signed-off-by: Alex Collins --- util/kubeconfig/kubeconfig.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/kubeconfig/kubeconfig.go b/util/kubeconfig/kubeconfig.go index 4264a7a01ee7..0f79a79cd9d4 100644 --- a/util/kubeconfig/kubeconfig.go +++ b/util/kubeconfig/kubeconfig.go @@ -3,6 +3,7 @@ package kubeconfig import ( "encoding/base64" "fmt" + "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" "io/ioutil" "net/http" "os" @@ -179,8 +180,8 @@ func GetBearerToken(in *restclient.Config, explicitKubeConfigPath string) (strin return "", err } - println("ALEX", "req=", req) - println("ALEX", "resp=", resp) + println("ALEX", "resp.statusCode=", resp.StatusCode) + println("ALEX", "resp.headers=", v1alpha1.MustMarshallJSON(resp.Header)) if err := resp.Body.Close(); err != nil { return "", err