From ca742a0ce63ec73a44b865d255d90ca4ec36332b Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Wed, 13 Mar 2024 14:28:56 +0500 Subject: [PATCH] Include Edge provider in the OSP list (#6606) Signed-off-by: Waleed Malik --- .../v2/operatingsystemprofile/operatingsystemprofile.go | 2 +- .../v2/operatingsystemprofile/operatingsystemprofile_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/api/pkg/handler/v2/operatingsystemprofile/operatingsystemprofile.go b/modules/api/pkg/handler/v2/operatingsystemprofile/operatingsystemprofile.go index 34deeb641b..65e91985ff 100644 --- a/modules/api/pkg/handler/v2/operatingsystemprofile/operatingsystemprofile.go +++ b/modules/api/pkg/handler/v2/operatingsystemprofile/operatingsystemprofile.go @@ -69,7 +69,7 @@ var defaultOperatingSystemProfiles = []apiv2.OperatingSystemProfile{ { Name: "osp-ubuntu", OperatingSystem: "ubuntu", - SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"}, + SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"}, }, } diff --git a/modules/api/pkg/handler/v2/operatingsystemprofile/operatingsystemprofile_test.go b/modules/api/pkg/handler/v2/operatingsystemprofile/operatingsystemprofile_test.go index cdb1529294..23748f8629 100644 --- a/modules/api/pkg/handler/v2/operatingsystemprofile/operatingsystemprofile_test.go +++ b/modules/api/pkg/handler/v2/operatingsystemprofile/operatingsystemprofile_test.go @@ -92,7 +92,7 @@ func TestListOperatingSystemProfiles(t *testing.T) { { Name: "osp-ubuntu", OperatingSystem: "ubuntu", - SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"}, + SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"}, }, }, }, @@ -130,7 +130,7 @@ func TestListOperatingSystemProfiles(t *testing.T) { { Name: "osp-ubuntu", OperatingSystem: "ubuntu", - SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"}, + SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"}, }, }, },