mirror of https://github.com/containers/podman.git
Remove an unused if statement I added
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
parent
bb0377eb3d
commit
eb3dd94159
|
@ -31,9 +31,6 @@ func (r *Runtime) makeInfraContainer(ctx context.Context, p *Pod, imgName, imgID
|
||||||
isRootless := rootless.IsRootless()
|
isRootless := rootless.IsRootless()
|
||||||
|
|
||||||
entryCmd := []string{r.config.InfraCommand}
|
entryCmd := []string{r.config.InfraCommand}
|
||||||
if config == nil {
|
|
||||||
|
|
||||||
}
|
|
||||||
// I've seen circumstances where config is being passed as nil.
|
// I've seen circumstances where config is being passed as nil.
|
||||||
// Let's err on the side of safety and make sure it's safe to use.
|
// Let's err on the side of safety and make sure it's safe to use.
|
||||||
if config != nil {
|
if config != nil {
|
||||||
|
|
Loading…
Reference in New Issue