Skip to content

Commit 1acb8c0

Browse files
committed
Filter out affinity groups of type 'ExplicitDedication' in CreateKubernetesCluster
1 parent 5ba35e6 commit 1acb8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/compute/CreateKubernetesCluster.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ export default {
626626
getAPI('listAffinityGroups', params).then(json => {
627627
const groups = json.listaffinitygroupsresponse.affinitygroup
628628
if (this.arrayHasItems(groups)) {
629-
this.affinityGroups = groups
629+
this.affinityGroups = groups.filter(group => group.type !== 'ExplicitDedication')
630630
}
631631
}).finally(() => {
632632
this.affinityGroupLoading = false

0 commit comments

Comments
 (0)