Commit 8640cca2 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Watch for an image alias returned from the image server, there won't be

a URL for those, and we should fall back to looking for the image locally.
parent 28375e01
#!/usr/bin/perl -wT
# Copyright (c) 2008-2016 University of Utah and the Flux Group.
# Copyright (c) 2008-2017 University of Utah and the Flux Group.
......@@ -248,6 +248,10 @@ sub MapToLocalImage($$)
$localblobcache{$urn} = $blob;
my $url = $blob->{'metadata_url'};
if (!defined($url)) {
print STDERR "No metadata url in info returned from image server.\n";
return undef;
#print STDERR Dumper($blob);
Supports Markdown
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