common/dir: Add a missing OstreeAsyncProgress default 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>

Closes: #1320
Approved by: cgwalters

(cherry picked from commit 7d1da19de2)
This commit is contained in:
Philip Withnall
2018-01-18 12:28:36 +00:00
committed by Alexander Larsson
parent c4cc9c776e
commit 75f2c63ced

View File

@@ -2813,6 +2813,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);
}