mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge remote-tracking branch 'origin/4.11'
This commit is contained in:
commit
e871638dc8
@ -303,6 +303,7 @@ public class Agent implements HandlerFactory, IAgentControl {
|
|||||||
|
|
||||||
public void stop(final String reason, final String detail) {
|
public void stop(final String reason, final String detail) {
|
||||||
s_logger.info("Stopping the agent: Reason = " + reason + (detail != null ? ": Detail = " + detail : ""));
|
s_logger.info("Stopping the agent: Reason = " + reason + (detail != null ? ": Detail = " + detail : ""));
|
||||||
|
_reconnectAllowed = false;
|
||||||
if (_connection != null) {
|
if (_connection != null) {
|
||||||
final ShutdownCommand cmd = new ShutdownCommand(reason, detail);
|
final ShutdownCommand cmd = new ShutdownCommand(reason, detail);
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user