Commit 86ead9c1 authored by Leigh B Stoller's avatar Leigh B Stoller

Fix a perl warning.

parent 7b831721
......@@ -324,8 +324,6 @@ sub MapToLocalImage($$$$@)
# The image might be version specific.
my $ospid = $hrn->ospid();
my $osname = $hrn->osname();
my $osvers = $hrn->osvers();
if (defined($osvers) && $osvers !~ /^\d+$/) {
return GeniResponse->BadArgsResponse("Bad version number in $urn");
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