diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-03-12 13:01:38 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-03-15 10:39:39 +0100 |
commit | 14cfc63631f630c95058393fc93ba09da92926a1 (patch) | |
tree | 3f3b15e9b6b8ad36bebea7f5e5bba655b900fafb /pkg/adapter | |
parent | 549e81ff3bb4f4d19ea671fc552e12594b1368d0 (diff) | |
download | podman-14cfc63631f630c95058393fc93ba09da92926a1.tar.gz podman-14cfc63631f630c95058393fc93ba09da92926a1.tar.bz2 podman-14cfc63631f630c95058393fc93ba09da92926a1.zip |
runtime: refactor NewRuntime and NewRuntimeFromConfig
we had two functions NewRuntimeFromConfig and NewRuntime that differed
only for the config file they use.
Move comon logic to newRuntimeFromConfig and let it lookup the
configuration file to use when one is not specified.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/adapter')
0 files changed, 0 insertions, 0 deletions