Skip to content

Commit

Permalink
CLOUDSTACK-10083: Allow ModifySshKeys to be forwarded to the agent in…
Browse files Browse the repository at this point in the history
… maintenance mode (apache#2269)

Signed-off-by: Marc-Aurèle Brothier <m@brothier.org>
  • Loading branch information
marcaurele authored and rohityadavcloud committed Sep 28, 2017
1 parent c670691 commit e1cff7d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

import com.cloud.agent.api.ModifySshKeysCommand;
import org.apache.cloudstack.managed.context.ManagedContextRunnable;
import org.apache.log4j.Logger;

Expand Down Expand Up @@ -114,7 +115,7 @@ public int compare(final Object o1, final Object o2) {
StopCommand.class.toString(), CheckVirtualMachineCommand.class.toString(), PingTestCommand.class.toString(), CheckHealthCommand.class.toString(),
ReadyCommand.class.toString(), ShutdownCommand.class.toString(), SetupCommand.class.toString(),
CleanupNetworkRulesCmd.class.toString(), CheckNetworkCommand.class.toString(), PvlanSetupCommand.class.toString(), CheckOnHostCommand.class.toString(),
ModifyTargetsCommand.class.toString() };
ModifyTargetsCommand.class.toString(), ModifySshKeysCommand.class.toString()};
protected final static String[] s_commandsNotAllowedInConnectingMode = new String[] { StartCommand.class.toString(), CreateCommand.class.toString() };
static {
Arrays.sort(s_commandsAllowedInMaintenanceMode);
Expand Down

0 comments on commit e1cff7d

Please sign in to comment.