Skip to content

Commit

Permalink
Fix container name and container image env var counter (#3017)
Browse files Browse the repository at this point in the history
Co-authored-by: Hinterreiter <[email protected]>
  • Loading branch information
luhi-DT and Hinterreiter authored Apr 17, 2024
1 parent 604315f commit cf8e5c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (mutator *OneAgentPodMutator) mutateUserContainers(request *dtwebhook.Mutat
continue
}

addContainerInfoInitEnv(request.InstallContainer, i+1, container.Name, container.Image)
addContainerInfoInitEnv(request.InstallContainer, injectedContainers+1, container.Name, container.Image)
mutator.addOneAgentToContainer(request.ToReinvocationRequest(), container)
injectedContainers++
}
Expand Down

0 comments on commit cf8e5c7

Please sign in to comment.