diff options
author | Matthew Heon <mheon@redhat.com> | 2018-12-02 16:40:38 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2018-12-02 16:53:15 -0500 |
commit | b104a45f35a437593774f851b0a3b45fd692b263 (patch) | |
tree | 89b086465719cd1aa7c370b674e792e02aedf0b6 | |
parent | 69ed2ccc54f48b8fff30e28644ad96d56d093dd1 (diff) | |
download | podman-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.go | 6 | ||||
-rw-r--r-- | pkg/util/utils.go | 3 |
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() |