Closed sboeuf closed 6 years ago
cc @devimc @sameo
Hi @sboeuf - please can you add some unit tests for this change.
lgtm
@jodh-intel I have added unit tests in order to cover fetchContainer()
function since this is the one that matters here. It makes sure we retrieve the container pointer coming from the list of containers held by the pod structure.
Nice.
LGTM
@sameo comments addressed, I have replaced the function fetchContainer()
with findContainer()
, which is more appropriate about the naming.
This pull request ensure the container pointers held by the
pod
structure are not duplicated. This is needed to avoid a container pointer modification not to be taken into account because the wrong pointer is used.Fixes #588