Skip to content

Commit

Permalink
Fixed if/else
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Clark committed Jun 18, 2024
1 parent 21bc0ad commit 38c3bd7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/internal/cluster/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ func CompareOCPVersionWithCurrent(apiClient *clients.Settings,
if currentVersion.LessThanOrEqual(referenceVersion) {
return true, nil
}
}
} else {
if currentVersion.LessThan(referenceVersion) {
return true, nil
} else {
if currentVersion.LessThan(referenceVersion) {
return true, nil
}
}
}

Expand Down

0 comments on commit 38c3bd7

Please sign in to comment.