Commit 57faf5d0 authored by Leigh Stoller's avatar Leigh Stoller

Lets not set architecture to "", keep it NULL.

parent 41ec80d6
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
# Copyright (c) 2000-2017 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -378,7 +378,12 @@ if (exists($editnodetype_args{"class"})) {
if (exists($editnodetype_args{"architecture"})) {
my $architecture = $editnodetype_args{"architecture"};
push(@nodetype_data, "architecture='$architecture'");
if ($architecture eq "") {
push(@nodetype_data, "architecture=NULL");
}
else {
push(@nodetype_data, "architecture='$architecture'");
}
}
# The rest of them all have names starting with "is" at present.
......
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