fix missing parameter during log-throw

This commit is contained in:
BradleyBartlett 2018-09-12 14:31:47 -07:00
Родитель 1b79fe8978
Коммит ad2eacab54
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -361,7 +361,7 @@ function Remove-AzsRegistration{
}
else
{
Log-Throw "The registration resource found does not correlate the current environment's Cloud-Id. `r`nEnvironment Cloud Id: $($stampinfo.CloudId) `r`nResource Cloud Id: $($registrationResource.Properties.cloudId)"
Log-Throw "The registration resource found does not correlate the current environment's Cloud-Id. `r`nEnvironment Cloud Id: $($stampinfo.CloudId) `r`nResource Cloud Id: $($registrationResource.Properties.cloudId)" -CallingFunction $($PSCmdlet.MyInvocation.MyCommand.Name)
}
}
else