Skip to content
GitLab
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
91a46ff6
Commit
91a46ff6
authored
Jun 10, 2016
by
Leigh B Stoller
Browse files
Minor fix for dataset urn parsing.
parent
f74b1548
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
91a46ff6
...
...
@@ -7579,7 +7579,8 @@ sub HandleBlockstore($$$$$$@)
}
$
dataset_id
=
$
id
;
if
($
dataset_id
=~
/^(.*)\/\/(.*)$/)
{
if
($
dataset_id
=~
/^(.*)\/\/(.*)$/
||
$
dataset_id
=~
/^(.*):(.*)$/)
{
$
gid
=
$
1
;
$
dataset_id
=
$
2
;
}
...
...
@@ -7594,7 +7595,7 @@ sub HandleBlockstore($$$$$$@)
#
#
Dataset
must
already
exist
.
#
$
message
=
"No such dataset for $bsname: $dataset_id"
;
$
message
=
"No such dataset for $bsname:
$pid/$gid/
$dataset_id"
;
goto
bad
;
}
if
($
PROTOGENI_LOCALUSER
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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