By passing the version_code parameter, we can error out if the imagebuilder that
responded to the request isn't the same, mirroring the current behavior of auc.
Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
request: {
profile,
version: candidates[0][0],
+ version_code: revision,
packages: Object.keys(packages).sort(),
},
};
...firmware,
packages: mapdata.request.packages,
version: mapdata.request.version,
+ version_code: mapdata.request.version_code,
profile: mapdata.request.profile
};
this.pollFn = L.bind(function () {