summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2018-01-18 12:28:36 +0000
committerPhilip Withnall <withnall@endlessm.com>2018-01-18 12:28:36 +0000
commit27524c6cb088068a444b4008054e249ccf610070 (patch)
treec7b5607c2ef57e20201c357ae4c19a00810b0ca4
parentee10c43b66d6cc99ad4d13fbead463840ee3e275 (diff)
downloadflatpak-caught-error-progress-key.tar.gz
common/dir: Add a missing OstreeAsyncProgress default keycaught-error-progress-key
oci_pull_init_progress() seems to set all the default keys wanted by ostree_repo_pull_default_console_progress_changed() except the caught-error key, which was added in OSTree commit 5c4f26bd65b492. Add that key, just in case something queries for it (if it’s missing when that happens, an assertion failure will be hit). Signed-off-by: Philip Withnall <withnall@endlessm.com>
-rw-r--r--common/flatpak-dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
index a0afe7d3..c029317d 100644
--- a/common/flatpak-dir.c
+++ b/common/flatpak-dir.c
@@ -2817,6 +2817,7 @@ oci_pull_init_progress (OstreeAsyncProgress *progress)
"total-delta-part-usize", "t", (guint64) 0,
"total-delta-superblocks", "u", 0,
"status", "s", "",
+ "caught-error", "b", FALSE,
NULL);
}