Skip to content

Commit

Permalink
chore: fix typos in error messages (#274)
Browse files Browse the repository at this point in the history
Correct seven instances of the typo "commpleted" (rather than "completed").

Signed-off-by: Nathan Thaler <nathan.thaler@broadcom.com>
  • Loading branch information
nthaler-vmware committed Feb 26, 2024
1 parent 7f26f98 commit 1c68d41
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions PowerVCF.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

# Module manifest for module 'PowerVCF'
# Generated by: Broadcom
# Generated on: 2024-02-21
# Generated on: 2024-02-26

@{

# Script module or binary module file associated with this manifest.
RootModule = 'PowerVCF.psm1'
RootModule = 'PowerVCF.psm1'

# Version number of this module.
ModuleVersion = '2.5.0.1007'
ModuleVersion = '2.5.0.1008'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
14 changes: 7 additions & 7 deletions PowerVCF.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ Function New-VCFCluster {
ResponseException -object $_
}
} else {
Write-Error "The validation task commpleted the run with the following problems: $($response.validationChecks.errorResponse.message)"
Write-Error "The validation task completed the run with the following problems: $($response.validationChecks.errorResponse.message)"
}
} Catch {
ResponseException -object $_
Expand Down Expand Up @@ -1244,7 +1244,7 @@ Function Set-VCFCluster {
ResponseException -object $_
}
} else {
Write-Error "The validation task commpleted the run with the following problems: $($response.validationChecks.errorResponse.message)"
Write-Error "The validation task completed the run with the following problems: $($response.validationChecks.errorResponse.message)"
}

if ($PsBoundParameters.ContainsKey("markForDeletion") -and ($PsBoundParameters.ContainsKey("id"))) {
Expand Down Expand Up @@ -1955,7 +1955,7 @@ Function New-VCFWorkloadDomain {
$response = Invoke-RestMethod -Method POST -Uri $uri -Headers $headers -ContentType 'application/json' -Body $jsonBody
Return $response
} else {
Write-Error "The validation task commpleted the run with the following problems:"
Write-Error "The validation task completed the run with the following problems:"
Write-Output $response.validationChecks.errorResponse.message
}
} elseif ($PsBoundParameters.ContainsKey("validate")) {
Expand Down Expand Up @@ -2612,7 +2612,7 @@ Function New-VCFCommissionedHost {
$response = Invoke-RestMethod -Method POST -Uri $uri -Headers $headers -ContentType 'application/json' -Body $jsonBody
Return $response
} else {
Write-Error "The validation task commpleted the run with the following problems:"
Write-Error "The validation task completed the run with the following problems:"
Write-Output $response.validationChecks.errorResponse
}
} elseif ($PsBoundParameters.ContainsKey("validate")) {
Expand All @@ -2627,7 +2627,7 @@ Function New-VCFCommissionedHost {
Write-Output "Task validation completed successfully."
Return $response
} else {
Write-Error "The validation task commpleted the run with the following problems:"
Write-Error "The validation task completed the run with the following problems:"
Write-Output $response.validationChecks.errorResponse
}
}
Expand Down Expand Up @@ -3253,7 +3253,7 @@ Function New-VCFEdgeCluster {
$response = Invoke-RestMethod -Method POST -Uri $uri -Headers $headers -ContentType 'application/json' -Body $jsonBody
Return $response
} else {
Write-Error "The validation task commpleted the run with the following error: $($response.validationChecks.errorResponse.message)"
Write-Error "The validation task completed the run with the following error: $($response.validationChecks.errorResponse.message)"
}
} elseif ($PsBoundParameters.ContainsKey("validate")) {
$response = Validate-EdgeClusterSpec -json $jsonBody # Validate the JSON specification file.
Expand All @@ -3267,7 +3267,7 @@ Function New-VCFEdgeCluster {
Write-Output "Task validation completed successfully."
Return $response
} else {
Write-Error "The validation task commpleted the run with the following errors: $($response.validationChecks.errorResponse.message)"
Write-Error "The validation task completed the run with the following errors: $($response.validationChecks.errorResponse.message)"
}
}
} Catch {
Expand Down

0 comments on commit 1c68d41

Please sign in to comment.