Skip to content

Commit

Permalink
adj. -eq to -in
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdonlan committed Jan 30, 2024
1 parent c9489a5 commit 070430d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DellOpenManage/Public/OME/Connect-OMEServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ param(
$AppInfoUrl = "https://$($OMEHost)/api/ApplicationService/Info"
$AppInfoResponse = Invoke-WebRequest -Uri $AppInfoUrl -UseBasicParsing -Method Get -Headers $Headers -ContentType $Type
$AppVersion = [System.Version]"1.0.0"
if ($AppInfoResponse.StatusCode -eq 200, 201) {
if ($AppInfoResponse.StatusCode -in 200, 201) {
$AppInfoResponseData = $AppInfoResponse.Content | ConvertFrom-Json
Write-Verbose $($AppInfoResponseData)
$AppVersion = [System.Version]$AppInfoResponseData.Version
Expand Down

0 comments on commit 070430d

Please sign in to comment.