Merge pull request #582 from runcom/fix-logrus
sandbox_status: Infof->Debugf response
This commit is contained in:
commit
b8130b6852
2 changed files with 2 additions and 2 deletions
|
@ -317,13 +317,13 @@ func (s *Server) RunPodSandbox(ctx context.Context, req *pb.RunPodSandboxRequest
|
||||||
hostname: hostname,
|
hostname: hostname,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.addSandbox(sb)
|
||||||
defer func() {
|
defer func() {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.removeSandbox(id)
|
s.removeSandbox(id)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
s.addSandbox(sb)
|
|
||||||
if err = s.podIDIndex.Add(id); err != nil {
|
if err = s.podIDIndex.Add(id); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,6 @@ func (s *Server) PodSandboxStatus(ctx context.Context, req *pb.PodSandboxStatusR
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
logrus.Infof("PodSandboxStatusResponse: %+v", resp)
|
logrus.Debugf("PodSandboxStatusResponse: %+v", resp)
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue