summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2022-06-06 17:10:02 +0200
committerMatthew Heon <mheon@redhat.com>2022-06-14 16:12:10 -0400
commit3dc9a75473b643ac0bf158e13ecaeb2bb362ed2c (patch)
tree21352792ba5212c06f2c1b4dd2feb95629ed00fe /libpod
parent88960519f9e69a8343bd5f96d0667dc0945b489b (diff)
downloadpodman-3dc9a75473b643ac0bf158e13ecaeb2bb362ed2c.tar.gz
podman-3dc9a75473b643ac0bf158e13ecaeb2bb362ed2c.tar.bz2
podman-3dc9a75473b643ac0bf158e13ecaeb2bb362ed2c.zip
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>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/runtime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 9c47dc910..d9998b6e0 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -1058,7 +1058,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