Skip to content

Commit

Permalink
review comments incorporated
Browse files Browse the repository at this point in the history
  • Loading branch information
abodhekar committed Sep 28, 2023
1 parent f78ecea commit afe25c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webhook/webhook-dsnexec.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ func dsnExecSideCarInjectionRequired(pod *corev1.Pod) (bool, string, string) {
alreadyInjected, err := strconv.ParseBool(pod.Annotations["infoblox.com/dsnexec-injected"])

if err == nil && alreadyInjected {
dsnexecLog.Info("DsnExec sidecar already injected: ", pod.Name, remoteDbSecretName, pod.Name, dsnExecConfigSecret)
dsnexecLog.Info("DsnExec sidecar already injected: ", pod.Name, pod.Annotations)
return false, remoteDbSecretName, dsnExecConfigSecret
}

dsnexecLog.Info("DsnExec sidecar Injection required: ", pod.Name, remoteDbSecretName, pod.Name, dsnExecConfigSecret)
dsnexecLog.Info("DsnExec sidecar Injection required: ", pod.Name, pod.Annotations)

return true, remoteDbSecretName, dsnExecConfigSecret
}
Expand Down

0 comments on commit afe25c3

Please sign in to comment.