pycriu: images: merge payload field into entry and add extra field to entry if needed
Before: { "magic" : "FOO", "entries" : [ { "payload" : { "foo" : "bar", "bar" : "foo" }, "extra" : "abc" }, { "payload" : { "foo" : "bar", "bar" : "foo" }, "extra" : "abc" } ] } After: { "magic" : "FOO", "entries" : [ { "foo" : "bar", "bar" : "foo" "extra" : "abc" }, { "foo" : "bar", "bar" : "foo" "extra" : "abc" } ] } We don't have any fields named "extra" in our pb msgs and it is not likely that we will ever have one, so there is no reason to worry about that. Signed-off-by:Ruslan Kuprieiev <kupruser@gmail.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment