summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpod/state.go6
-rw-r--r--pkg/util/utils.go3
2 files changed, 5 insertions, 4 deletions
diff --git a/libpod/state.go b/libpod/state.go
index 99e2435a2..53b66cdb3 100644
--- a/libpod/state.go
+++ b/libpod/state.go
@@ -3,10 +3,10 @@ package libpod
// DBConfig is a set of Libpod runtime configuration settings that are saved
// in a State when it is first created, and can subsequently be retrieved.
type DBConfig struct {
- LibpodRoot string
- LibpodTmp string
+ LibpodRoot string
+ LibpodTmp string
StorageRoot string
- StorageTmp string
+ StorageTmp string
GraphDriver string
}
diff --git a/pkg/util/utils.go b/pkg/util/utils.go
index 78484eb78..ed79c4b46 100644
--- a/pkg/util/utils.go
+++ b/pkg/util/utils.go
@@ -313,7 +313,8 @@ func getTomlStorage(storeOptions *storage.StoreOptions) *tomlConfig {
return config
}
-// GetDefaultStoreOptions returns the storage ops for containers.
+// GetDefaultRootlessStoreOptions returns the storage opts for rootless
+// containers.
func GetDefaultRootlessStoreOptions() (storage.StoreOptions, error) {
var err error
storageOpts, err := GetRootlessStorageOpts()