summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2022-06-06 17:10:02 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2022-06-06 22:08:16 +0200
commit2a0d896b3606a79d40255f37a62a7722930f5b7e (patch)
tree4b94c9ce0871645900c684240d7760541b598a23
parentb2ebb91656b4c735a2e392274632f2e097423cad (diff)
downloadpodman-2a0d896b3606a79d40255f37a62a7722930f5b7e.tar.gz
podman-2a0d896b3606a79d40255f37a62a7722930f5b7e.tar.bz2
podman-2a0d896b3606a79d40255f37a62a7722930f5b7e.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>
-rw-r--r--libpod/runtime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 10c6d21c5..6c8a99846 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -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