mirror of
https://github.com/containers/podman.git
synced 2025-05-22 09:36:57 +08:00
Merge pull request #14499 from giuseppe/make-error-clearer
runtime: make error clearer
This commit is contained in:
@ -1123,7 +1123,7 @@ func (r *Runtime) mergeDBConfig(dbConfig *DBConfig) {
|
|||||||
if !r.storageSet.GraphDriverNameSet && dbConfig.GraphDriver != "" {
|
if !r.storageSet.GraphDriverNameSet && dbConfig.GraphDriver != "" {
|
||||||
if r.storageConfig.GraphDriverName != dbConfig.GraphDriver &&
|
if r.storageConfig.GraphDriverName != dbConfig.GraphDriver &&
|
||||||
r.storageConfig.GraphDriverName != "" {
|
r.storageConfig.GraphDriverName != "" {
|
||||||
logrus.Errorf("User-selected graph driver %q overwritten by graph driver %q from database - delete libpod local files to resolve",
|
logrus.Errorf("User-selected graph driver %q overwritten by graph driver %q from database - delete libpod local files to resolve. May prevent use of images created by other tools",
|
||||||
r.storageConfig.GraphDriverName, dbConfig.GraphDriver)
|
r.storageConfig.GraphDriverName, dbConfig.GraphDriver)
|
||||||
}
|
}
|
||||||
r.storageConfig.GraphDriverName = dbConfig.GraphDriver
|
r.storageConfig.GraphDriverName = dbConfig.GraphDriver
|
||||||
|
Reference in New Issue
Block a user