Use pod sandbox id in checkpoint
This commit is contained in:
@@ -301,7 +301,7 @@ func (ds *dockerService) GetPodPortMappings(podSandboxID string) ([]*hostport.Po
|
|||||||
// Return empty portMappings if checkpoint is not found
|
// Return empty portMappings if checkpoint is not found
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err == errors.CheckpointNotFoundError {
|
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
|
return nil, nil
|
||||||
} else {
|
} else {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Reference in New Issue
Block a user