build-commit-from: Fix the collection-ref binding

We accidentally got an extra variant making the
type variant(a(ss)) instead of just a(ss).

Closes: #2666
Approved by: alexlarsson
This commit is contained in:
Alexander Larsson
2019-01-31 14:46:49 +01:00
committed by Atomic Bot
parent 7c8f21e0a4
commit f74b54503a

View File

@@ -490,7 +490,7 @@ flatpak_builtin_build_commit_from (int argc, char **argv, GCancellable *cancella
g_variant_builder_add (cr_builder, "(ss)", g_ptr_array_index (collection_ids, j), dst_ref);
g_variant_builder_add (&metadata_builder, "{sv}", "ostree.collection-refs-binding",
g_variant_new_variant (g_variant_builder_end (cr_builder)));
g_variant_builder_end (cr_builder));
}
g_variant_builder_add (&metadata_builder, "{sv}", "ostree.ref-binding",
g_variant_new_strv (&dst_ref, 1));