Commit d98046da authored by Leigh Stoller's avatar Leigh Stoller

Need to update origin_name when updating an image, since it might

be coming from a testbed with image versioning on, and so its name
will change (the version number).
parent 9e4ba4e8
......@@ -428,7 +428,7 @@ if ($update && $newhash ne $image->hash()) {
}
}
# Update these in the descriptor.
my @slots = ("imagefile_url");
my @slots = ("imagefile_url", "origin_name");
foreach my $key (@slots) {
next
if (!exists($xmlparse->{'attribute'}->{$key}));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment