diff options
Diffstat (limited to 'pkg/util/utils.go')
-rw-r--r-- | pkg/util/utils.go | 2 |
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() { |