Commit 5f939002 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Make rspec version case-insensitive.

parent 72cf6746
......@@ -191,8 +191,7 @@ sub ListResources()
if (! defined($version)) {
$pgversion = "0.2";
} elsif (defined($version->{'type'}) &&
($version->{'type'} eq "ProtoGENI" ||
$version->{'type'} eq "protogeni")) {
lc($version->{'type'}) eq "protogeni") {
$pgversion = $version->{'version'};
} else {
return GeniResponse->Create(GENIRESPONSE_ERROR, undef,
......
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