Skip to content

Commit

Permalink
Update pkg/kubenest/tasks/upload.go
Browse files Browse the repository at this point in the history
Co-authored-by: duanmengkk <[email protected]>
  • Loading branch information
qiuwei68 and duanmengkk committed Apr 29, 2024
1 parent 72697c3 commit 6b509da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubenest/tasks/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func runUploadAdminKubeconfig(r workflow.RunData) error {
}
clusterPort := getClusterPortFromAPIServerService(service)
clusterIP := service.Spec.ClusterIP
fmt.Printf("UploadAdminKubeconfig get Cluster IP is : %s\n", clusterIP)
klog.v(4).infof("UploadAdminKubeconfig get Cluster IP is : %s\n", clusterIP)

Check failure on line 175 in pkg/kubenest/tasks/upload.go

View workflow job for this annotation

GitHub Actions / verify

undefined: klog.v) (typecheck)

Check failure on line 175 in pkg/kubenest/tasks/upload.go

View workflow job for this annotation

GitHub Actions / verify

undefined: klog.v (typecheck)
endpoint = fmt.Sprintf("https://%s:%d", clusterIP, clusterPort)
kubeconfig, err := buildKubeConfigFromSpec(data, endpoint)
if err != nil {
Expand Down

0 comments on commit 6b509da

Please sign in to comment.