aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/libpodruntime/runtime.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-09-05 12:14:57 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-09-06 14:48:51 +0000
commit2e6243b18539175b5ff029a924c4d83834f83d2b (patch)
treea034560d697b1ce7e07497da96bce9886887d9bd /cmd/podman/libpodruntime/runtime.go
parent490cc82d0b48f118b32525b568b3ed5e1fc82973 (diff)
downloadpodman-2e6243b18539175b5ff029a924c4d83834f83d2b.tar.gz
podman-2e6243b18539175b5ff029a924c4d83834f83d2b.tar.bz2
podman-2e6243b18539175b5ff029a924c4d83834f83d2b.zip
Fix up libpod.conf man pages and referencese to it.
Remove podman --config option, since it does not do anything. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1410 Approved by: mheon
Diffstat (limited to 'cmd/podman/libpodruntime/runtime.go')
-rw-r--r--cmd/podman/libpodruntime/runtime.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/libpodruntime/runtime.go b/cmd/podman/libpodruntime/runtime.go
index ec105719f..b7281ed8c 100644
--- a/cmd/podman/libpodruntime/runtime.go
+++ b/cmd/podman/libpodruntime/runtime.go
@@ -132,6 +132,8 @@ func GetRuntimeWithStorageOpts(c *cli.Context, storageOpts *storage.StoreOptions
if c.IsSet("infra-command") {
options = append(options, libpod.WithDefaultInfraCommand(c.String("infra-command")))
}
-
+ if c.IsSet("config") {
+ return libpod.NewRuntimeFromConfig(c.String("config"), options...)
+ }
return libpod.NewRuntime(options...)
}