зеркало из https://github.com/microsoft/2LCS.git
Add missing parameter EnvironmentId
This commit is contained in:
Родитель
cfe5671fb2
Коммит
9ceffe9735
|
@ -705,7 +705,7 @@ namespace LCS
|
||||||
|
|
||||||
internal async Task<bool> StartStopDeployment(CloudHostedInstance instance, string action)
|
internal async Task<bool> StartStopDeployment(CloudHostedInstance instance, string action)
|
||||||
{
|
{
|
||||||
var parameters = $"{action}=&ActivityId={instance.ActivityId}&ProductName={WebUtility.UrlEncode(instance.ProductName)}&TopologyName={instance.TopologyName}&TopologyInstanceId={instance.InstanceId}&AzureSubscriptionId={instance.AzureSubscriptionId}&EnvironmentGroup=0";
|
var parameters = $"{action}=&ActivityId={instance.ActivityId}&ProductName={WebUtility.UrlEncode(instance.ProductName)}&TopologyName={instance.TopologyName}&TopologyInstanceId={instance.InstanceId}&AzureSubscriptionId={instance.AzureSubscriptionId}&EnvironmentGroup=0&EnvironmentId={instance.EnvironmentId}";
|
||||||
using (_stringContent = new StringContent(parameters, Encoding.UTF8, "application/x-www-form-urlencoded"))
|
using (_stringContent = new StringContent(parameters, Encoding.UTF8, "application/x-www-form-urlencoded"))
|
||||||
{
|
{
|
||||||
SetRequestVerificationToken($"{LcsUrl}/V2");
|
SetRequestVerificationToken($"{LcsUrl}/V2");
|
||||||
|
@ -904,4 +904,4 @@ namespace LCS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче