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
c19aa5c7
Commit
c19aa5c7
authored
Dec 19, 2007
by
David Johnson
Browse files
Fix regexp that was preventing mfs_osid attrs from being properly checked.
parent
43333bb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/editnodetype.in
View file @
c19aa5c7
...
...
@@ -440,7 +440,7 @@ foreach $attr_name (@attr_names) {
# Check the osid and imageid attribute values against the id lists.
# Under the web page interface, these come to us from selectors.
if
(
$attr_type
eq
"
osid
")
{
if
(
$attr_name
=~
/mfs
$
/
)
{
if
(
$attr_name
=~
/mfs/
)
{
UserError
("
NodeType MFS OSID Attr:
$attr_name
is not an mfs_osid.
")
if
(
!
exists
(
$mfsosids
->
{
$attr_value
}));
}
...
...
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