Skip to content

Commit

Permalink
Add debug logging to ccm check
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewuolle committed Dec 2, 2024
1 parent 1c20e48 commit a3f193e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/managedcluster/validate_deployed.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ func validateCCM(ctx context.Context, kc *kubeclient.KubeClient, clusterName str
}

for _, i := range service.Status.LoadBalancer.Ingress {
fmt.Printf("HOSTNAME=%s, IP=%s", i.Hostname, i.IP)

Check failure on line 269 in test/e2e/managedcluster/validate_deployed.go

View workflow job for this annotation

GitHub Actions / Build and Unit Test

Error return value of `fmt.Printf` is not checked (errcheck)
fmt.Printf("service status=%v", service.Status)

Check failure on line 270 in test/e2e/managedcluster/validate_deployed.go

View workflow job for this annotation

GitHub Actions / Build and Unit Test

Error return value of `fmt.Printf` is not checked (errcheck)
if i.Hostname != "" || i.IP != "" {
return nil
}
Expand Down

0 comments on commit a3f193e

Please sign in to comment.