Skip to content

Commit

Permalink
fix review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
eifrach committed Mar 24, 2024
1 parent 4c28369 commit 64757e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/featuresupport/features_networking.go
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/openshift/assisted-service/internal/common"
"github.com/openshift/assisted-service/internal/network"
"github.com/openshift/assisted-service/models"
"k8s.io/utils/strings/slices"
"github.com/thoas/go-funk"
)

// VipAutoAllocFeature
Expand All @@ -30,7 +30,7 @@ func (feature *VipAutoAllocFeature) getSupportLevel(filters SupportLevelFilters)
string(models.PlatformTypeExternal),
string(models.PlatformTypeNone),
}
if filters.PlatformType != nil && slices.Contains(
if filters.PlatformType != nil && funk.Contains(
unavailablePlatform, string(*filters.PlatformType)) {
return models.SupportLevelUnavailable
}
Expand Down
2 changes: 1 addition & 1 deletion swagger.yaml
Expand Up @@ -3715,7 +3715,7 @@ paths:
name: high_availability_mode
type: string
enum: [ 'Full', 'None' ]
description: Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster over multiple master nodes whereas 'None' installs a full cluster over one node.
description: Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster over multiple master nodes whereas 'None' installs a cluster over one node.
responses:
"200":
description: Success.
Expand Down

0 comments on commit 64757e3

Please sign in to comment.