summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2018-12-02 16:40:38 -0500
committerMatthew Heon <mheon@redhat.com>2018-12-02 16:53:15 -0500
commitb104a45f35a437593774f851b0a3b45fd692b263 (patch)
tree89b086465719cd1aa7c370b674e792e02aedf0b6
parent69ed2ccc54f48b8fff30e28644ad96d56d093dd1 (diff)
downloadpodman-b104a45f35a437593774f851b0a3b45fd692b263.tar.gz
podman-b104a45f35a437593774f851b0a3b45fd692b263.tar.bz2
podman-b104a45f35a437593774f851b0a3b45fd692b263.zip
Fix gofmt and lint
Signed-off-by: Matthew Heon <mheon@redhat.com>
-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()