Skip to content

Commit

Permalink
chore: ok
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Collins <[email protected]>
  • Loading branch information
alexec committed Nov 15, 2021
1 parent add1ad1 commit 996ca13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions util/kubeconfig/kubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 996ca13

Please sign in to comment.