diff --git a/clio/Command/RemoteCommand.cs b/clio/Command/RemoteCommand.cs index 2b81b902..b0fd2d81 100644 --- a/clio/Command/RemoteCommand.cs +++ b/clio/Command/RemoteCommand.cs @@ -7,7 +7,7 @@ namespace Clio.Command; -public class RemoteCommandOptions : EnvironmentNameOptions +public class RemoteCommandOptions : EnvironmentOptions { public int TimeOut { get; internal set; } = 100_000; public int RetryCount { get; internal set; } = 3; diff --git a/clio/Command/TurnFsmCommand.cs b/clio/Command/TurnFsmCommand.cs index 0df715db..efd8e663 100644 --- a/clio/Command/TurnFsmCommand.cs +++ b/clio/Command/TurnFsmCommand.cs @@ -46,7 +46,7 @@ public override int Execute(TurnFsmCommandOptions options){ if(options.IsNetCore == true) { var opt = new RestartOptions { - EnvironmentName = options.Environment, + Environment = options.Environment, Uri = options.Uri, Login = options.Login, Password = options.Password,