Fix man page to show info on storage

Also fix lint errors.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2018-10-22 13:30:08 -04:00
parent f3b0837974
commit 3157595288
2 changed files with 6 additions and 2 deletions

View File

@ -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() {