mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
removed start/stop VR from queue
This commit is contained in:
parent
674af6e473
commit
071004e3e1
@ -36,6 +36,10 @@ public class StartCommand extends Command {
|
||||
|
||||
@Override
|
||||
public boolean executeInSequence() {
|
||||
//VR start doesn't go through queue
|
||||
if (vm.getName() != null && vm.getName().startsWith("r-")) {
|
||||
return false;
|
||||
}
|
||||
return executeInSequence;
|
||||
}
|
||||
|
||||
|
||||
@ -56,6 +56,10 @@ public class StopCommand extends RebootCommand {
|
||||
|
||||
@Override
|
||||
public boolean executeInSequence() {
|
||||
//VR stop doesn't go through queue
|
||||
if (vmName != null && vmName.startsWith("r-")) {
|
||||
return false;
|
||||
}
|
||||
return executeInSequence;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user