Commit 116bcd68 authored by Leigh Stoller's avatar Leigh Stoller

Fix typo: group -> gid

parent 52b10cbf
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
# Copyright (c) 2000-2008 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -313,8 +313,8 @@ if (!$project->AccessCheck($this_user, TB_PROJECT_MAKEIMAGEID())) {
}
my $group;
if (exists($newimageid_args{"group"})) {
my $gid = $newimageid_args{"group"};
if (exists($newimageid_args{"gid"})) {
my $gid = $newimageid_args{"gid"};
$group = Group->LookupSubgroupByName($gid);
if (!defined($group)) {
UserError("Group: No such group $gid");
......
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
# Copyright (c) 2000-2008 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -345,8 +345,8 @@ if (!defined($project)) {
}
my $group;
if (exists($newimageid_args{"group"})) {
my $gid = $newimageid_args{"group"};
if (exists($newimageid_args{"gid"})) {
my $gid = $newimageid_args{"gid"};
$group = Group->LookupSubgroupByName($gid);
if (!defined($group)) {
UserError("Group: No such group $gid");
......
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