Remove an unused if statement I added

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
Matthew Heon 2019-03-10 12:20:04 -04:00
parent bb0377eb3d
commit eb3dd94159
1 changed files with 0 additions and 3 deletions

View File

@ -31,9 +31,6 @@ func (r *Runtime) makeInfraContainer(ctx context.Context, p *Pod, imgName, imgID
isRootless := rootless.IsRootless()
entryCmd := []string{r.config.InfraCommand}
if config == 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.
if config != nil {