mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Use pod sandbox id in checkpoint
This commit is contained in:
parent
df70b30e59
commit
bc644f9e04
@ -301,7 +301,7 @@ func (ds *dockerService) GetPodPortMappings(podSandboxID string) ([]*hostport.Po
|
||||
// Return empty portMappings if checkpoint is not found
|
||||
if err != nil {
|
||||
if err == errors.CheckpointNotFoundError {
|
||||
glog.Warningf("Failed to retrieve checkpoint for sandbox %q: %v", err)
|
||||
glog.Warningf("Failed to retrieve checkpoint for sandbox %q: %v", podSandboxID, err)
|
||||
return nil, nil
|
||||
} else {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user