mirror of
https://github.com/containers/podman
synced 2024-10-19 16:54:07 +00:00
runtime: make error clearer
make the error clearer and state that images created by other tools might not be visible to Podman when it overrides the graph driver. Closes: https://github.com/containers/podman/issues/13970 [NO NEW TESTS NEEDED] Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
b2ebb91656
commit
2a0d896b36
|
@ -1123,7 +1123,7 @@ func (r *Runtime) mergeDBConfig(dbConfig *DBConfig) {
|
|||
if !r.storageSet.GraphDriverNameSet && dbConfig.GraphDriver != "" {
|
||||
if r.storageConfig.GraphDriverName != dbConfig.GraphDriver &&
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue