summaryrefslogtreecommitdiff
path: root/pkg/util
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-10-22 13:30:08 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2018-10-22 16:16:54 -0400
commit3157595288d67faefe20ff90bce8feb1f7dedadd (patch)
tree44a309ede750f9f495e2675212f39e7703c5eff6 /pkg/util
parentf3b08379749e8d09cdec45238486ae0b91b4c6ee (diff)
downloadpodman-3157595288d67faefe20ff90bce8feb1f7dedadd.tar.gz
podman-3157595288d67faefe20ff90bce8feb1f7dedadd.tar.bz2
podman-3157595288d67faefe20ff90bce8feb1f7dedadd.zip
Fix man page to show info on storage
Also fix lint errors. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/util')
-rw-r--r--pkg/util/utils.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/util/utils.go b/pkg/util/utils.go
index 71fb10f99..9107eec5c 100644
--- a/pkg/util/utils.go
+++ b/pkg/util/utils.go
@@ -248,6 +248,7 @@ func GetRootlessRuntimeDir() (string, error) {
return runtimeDir, nil
}
+// GetRootlessStorageOpts returns the storage ops for containers running as non root
func GetRootlessStorageOpts() (storage.StoreOptions, error) {
var opts storage.StoreOptions
@@ -276,6 +277,7 @@ func GetRootlessStorageOpts() (storage.StoreOptions, error) {
return opts, nil
}
+// GetDefaultStoreOptions returns the storage ops for containers
func GetDefaultStoreOptions() (storage.StoreOptions, error) {
storageOpts := storage.DefaultStoreOptions
if rootless.IsRootless() {