summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-03-10 12:20:04 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-03-10 12:20:04 -0400
commiteb3dd9415905b0b66dd8ce30cb6be21939fb4454 (patch)
treefa96ecdbc2daa575e8bb88a1d678d321b58cc7c4
parentbb0377eb3d225155bd3f1e5e4e774fa4d6e9b0e4 (diff)
downloadpodman-eb3dd9415905b0b66dd8ce30cb6be21939fb4454.tar.gz
podman-eb3dd9415905b0b66dd8ce30cb6be21939fb4454.tar.bz2
podman-eb3dd9415905b0b66dd8ce30cb6be21939fb4454.zip
Remove an unused if statement I added
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
-rw-r--r--libpod/runtime_pod_infra_linux.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpod/runtime_pod_infra_linux.go b/libpod/runtime_pod_infra_linux.go
index 71328905b..6b07bcb31 100644
--- a/libpod/runtime_pod_infra_linux.go
+++ b/libpod/runtime_pod_infra_linux.go
@@ -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 {