mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
Remove clearly dead code
Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
@ -97,10 +97,7 @@ func (r *storageService) CreateContainerStorage(ctx context.Context, systemConte
|
||||
return ContainerInfo{}, err
|
||||
}
|
||||
|
||||
// Update the image name and ID.
|
||||
if imageName == "" && len(img.Names) > 0 {
|
||||
imageName = img.Names[0]
|
||||
}
|
||||
// Update the image ID.
|
||||
imageID = img.ID
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user