Skip to content

Commit dd7107e

Browse files
'Cofig' Typo
1 parent 19baf60 commit dd7107e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Agent/Lib/InstallAgent-Core.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ function ValidatePartnerConfig {
680680
$Config.NETFileVersion = $InstallInfo.NETFileVersion
681681
$Config.EnforceBehaviorPolicy = if ($Partner.Config.ServiceBehavior.EnforcePolicy -like "True") {$true} else {$false}
682682
$Config.ForceAgentCleanup = if ($Partner.Config.ScriptBehavior.ForceAgentCleanup -like "True") {$true} else {$false}
683-
$Cofig.UseWSDLVerifcation = if ($Partner.Config.ScriptBehavior.UseWSDLVerification -like "True") {$true} else {$false}
683+
$Config.UseWSDLVerifcation = if ($Partner.Config.ScriptBehavior.UseWSDLVerification -like "True") {$true} else {$false}
684684

685685
### Function Body
686686
###############################
@@ -1598,7 +1598,7 @@ function TestNCServer {
15981598
}
15991599
# Check if Agent has Connectivity to Server in Partner Configuration
16001600

1601-
if ($Cofig.UseWSDLVerifcation -and $NCResult -eq $false) {
1601+
if ($Config.UseWSDLVerifcation -and $NCResult -eq $false) {
16021602
$client = New-Object System.Net.WebClient
16031603
try {
16041604
$response = $client.DownloadString("https://$($Config.NCServerAddress)/dms2/services2/ServerEI2?wsdl")
@@ -3170,7 +3170,7 @@ function InstallAgent {
31703170
### Function Body
31713171
###############################
31723172
### Perform WSDL verfication before attempting any install or removal
3173-
if ($Cofig.UseWSDLVerifcation) {
3173+
if ($Config.UseWSDLVerifcation) {
31743174
$client = New-Object System.Net.WebClient
31753175
try {
31763176
$response = $client.DownloadString("https://$($Config.NCServerAddress)/dms2/services2/ServerEI2?wsdl")

0 commit comments

Comments
 (0)