Unverified Commit a7a9ec65 authored by OpenShift Merge Robot's avatar OpenShift Merge Robot Committed by GitHub

Merge pull request #3472 from openshift-cherrypick-robot/cherry-pick-3458-to-release-1.18

[1.18] server/ContainerStatus: don't lock for c.State()
parents b0f320f4 320d9409
......@@ -48,7 +48,7 @@ func (s *Server) ContainerStatus(ctx context.Context, req *pb.ContainerStatusReq
resp.Status.Mounts = mounts
cState := c.State()
cState := c.StateNoLock()
rStatus := pb.ContainerState_CONTAINER_UNKNOWN
// If we defaulted to exit code not set earlier then we attempt to
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment