Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
36cbaa20
Commit
36cbaa20
authored
Jul 02, 2013
by
Leigh B Stoller
Browse files
disk_image change; allow name to be a url, url is deprecated.
parent
43a8e0fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
36cbaa20
...
...
@@ -967,6 +967,11 @@ sub GetTicketAuxAux($$$$$$$$$)
my $dname = GeniXML::GetText("name", $diskref);
my $url = GeniXML::GetText("url", $diskref);
# url is deprecated; name can be anything.
if (defined($dname) && $dname =~ /^http/) {
$url = $dname;
}
if (defined($url)) {
if (! TBcheck_dbslot($url, "virt_nodes", "osname",
TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR)){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment