Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
devdattakulkarni committed Jul 26, 2024
2 parents 71d7f6d + 7af70e4 commit 1039bc2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mutating-webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -1423,8 +1423,6 @@ func handleCustomAPIs(ar *v1.AdmissionReview) *v1.AdmissionResponse {
}

nsObj, nsGetErr := kubeClient.CoreV1().Namespaces().Get(context.Background(), crname, metav1.GetOptions{})
//fmt.Printf("nsObj:%v\n", nsObj)
//fmt.Printf("nsGetErr:%v\n", nsGetErr)
if nsGetErr == nil {
nsPhase := nsObj.Status.Phase
fmt.Printf("Namespace for %s exists. Current status is: %s\n", crname, nsPhase)
Expand Down

0 comments on commit 1039bc2

Please sign in to comment.