Skip to content

Commit

Permalink
addressed Dan's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkermichael committed Sep 23, 2023
1 parent d73d842 commit 0097cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/connect-inject/webhookv2/container_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
func (w *MeshWebhook) containerEnvVars(pod corev1.Pod) ([]corev1.EnvVar, error) {
upstreams, err := common.ProcessPodUpstreams(pod, true, true)
if err != nil {
return nil, err
return nil, fmt.Errorf("error processing the upstream for container environment variable creation: %s", err.Error())
}
if upstreams == nil {
return nil, nil
Expand Down

0 comments on commit 0097cab

Please sign in to comment.