From 2e6243b18539175b5ff029a924c4d83834f83d2b Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 5 Sep 2018 12:14:57 -0400 Subject: 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 Closes: #1410 Approved by: mheon --- cmd/podman/libpodruntime/runtime.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/podman/libpodruntime') 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...) } -- cgit v1.2.3-54-g00ecf