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
0c23eada
Commit
0c23eada
authored
Sep 08, 2015
by
Leigh B Stoller
Browse files
Instance must be in the ready state when cloning it, but only the
user needs to see the error.
parent
140ff457
Changes
1
Hide whitespace changes
Inline
Side-by-side
apt/manage_profile.in
View file @
0c23eada
...
...
@@ -321,6 +321,10 @@ if ($snap) {
if
(
!
defined
(
$instance
))
{
fatal
("
Could not look up instance
$uuid
");
}
if
(
$instance
->
status
()
ne
"
ready
")
{
$errors
{"
error
"}
=
"
Instance must be in the ready state for cloning
";
UserError
();
}
if
(
$instance
->
AggregateList
()
!=
1
)
{
$errors
{"
error
"}
=
"
Must be only one aggregate to snapshot
";
UserError
();
...
...
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