diff --git a/internal/featuresupport/features_networking.go b/internal/featuresupport/features_networking.go index cb51891cb24..24a51bcc7c8 100644 --- a/internal/featuresupport/features_networking.go +++ b/internal/featuresupport/features_networking.go @@ -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 @@ -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 } diff --git a/swagger.yaml b/swagger.yaml index 5b2c427f950..d63259c43a0 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -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.