Skip to content

Commit

Permalink
Fix syntax in the godoc (#72)
Browse files Browse the repository at this point in the history
Signed-off-by: austin <austin@redhat.com>
  • Loading branch information
asmacdo committed Oct 14, 2021
1 parent 22f6002 commit d4e70d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ reconcile functions, Operator authors are then responsible for setting these
variables in the Container Envs that must use the proxy, For example:
// Pods with Kubernetes < 1.22
for _, cSpec := range (myPod.Spec.Containers) {
cSpec.Env = append(defaultEnv(), ReadProxyVarsFromEnv())
for i, cSpec := range (myPod.Spec.Containers) {
myPod.Spec.Containers[i].Env = append(cSpec.Env, ReadProxyVarsFromEnv()...)
}
*/
package proxy

0 comments on commit d4e70d9

Please sign in to comment.