Fix gofmt and lint

Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
Matthew Heon 2018-12-02 16:40:38 -05:00
parent 69ed2ccc54
commit b104a45f35
2 changed files with 5 additions and 4 deletions

View File

@ -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
}

View File

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