Skip to content

Commit 71e9d2f

Browse files
committed
filter 'External' hypervisor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent bdd8105 commit 71e9d2f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ui/src/views/compute/CreateKubernetesCluster.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -732,9 +732,7 @@ export default {
732732
733733
getAPI('listHypervisors', params).then(json => {
734734
const listResponse = json.listhypervisorsresponse.hypervisor || []
735-
if (listResponse) {
736-
this.selectedZoneHypervisors = listResponse
737-
}
735+
this.selectedZoneHypervisors = listResponse.filter(hypervisor => hypervisor.name !== 'External')
738736
}).finally(() => {
739737
this.hypervisorLoading = false
740738
})

0 commit comments

Comments
 (0)