We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a58a58 commit 1fe02f9Copy full SHA for 1fe02f9
ui/src/views/compute/KubernetesAddNodes.vue
@@ -66,7 +66,7 @@
66
67
<script>
68
import { ref, reactive, toRaw } from 'vue'
69
-import { postAPI } from '@/api'
+import { getAPI, postAPI } from '@/api'
70
import TooltipLabel from '@/components/widgets/TooltipLabel'
71
72
export default {
@@ -112,7 +112,7 @@ export default {
112
callListVms (accountId, domainId) {
113
return new Promise((resolve) => {
114
this.volumes = []
115
- postAPI('listVirtualMachines', {
+ getAPI('listVirtualMachines', {
116
accountId: accountId,
117
domainId: domainId,
118
details: 'min',
0 commit comments