File tree Expand file tree Collapse file tree 5 files changed +4
-12
lines changed
Expand file tree Collapse file tree 5 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 17641764"label.payload" : " Payload" ,
17651765"label.payloadurl" : " Payload URL" ,
17661766"label.pcidevice" : " GPU" ,
1767- "label.pciroot" : " PCI root" ,
17681767"label.peername" : " Management Server" ,
17691768"label.peermsid" : " Management Server Node ID" ,
17701769"label.peerrunid" : " Process Timestamp" ,
Original file line number Diff line number Diff line change @@ -785,7 +785,6 @@ export default {
785785 vgpuprofileid: record .vgpuprofileid ,
786786 type: record .type ,
787787 numanode: record .numanode ,
788- pciroot: record .pciroot ,
789788 parentgpudeviceid: record .parentgpudeviceid
790789 }
791790 this .fetchGpuCards ()
@@ -817,9 +816,6 @@ export default {
817816 if (this .gpuDeviceForm .numanode ) {
818817 params .numanode = this .gpuDeviceForm .numanode
819818 }
820- if (this .gpuDeviceForm .pciroot ) {
821- params .pciroot = this .gpuDeviceForm .pciroot
822- }
823819 if (this .gpuDeviceForm .parentgpudeviceid ) {
824820 params .parentgpudeviceid = this .gpuDeviceForm .parentgpudeviceid
825821 }
Original file line number Diff line number Diff line change @@ -369,9 +369,6 @@ export default {
369369 if (this .gpuDeviceForm .numanode ) {
370370 params .numanode = this .gpuDeviceForm .numanode
371371 }
372- if (this .gpuDeviceForm .pciroot ) {
373- params .pciroot = this .gpuDeviceForm .pciroot
374- }
375372 if (this .gpuDeviceForm .parentgpudeviceid ) {
376373 params .parentgpudeviceid = this .gpuDeviceForm .parentgpudeviceid
377374 }
Original file line number Diff line number Diff line change @@ -1421,7 +1421,7 @@ export default {
14211421 },
14221422 fetchGpuCards (searchKeyword ) {
14231423 return new Promise ((resolve , reject ) => {
1424- api (' listGpuCards' , { keyword: searchKeyword }).then (json => {
1424+ getAPI (' listGpuCards' , { keyword: searchKeyword }).then (json => {
14251425 const gpuCards = json .listgpucardsresponse .gpucard
14261426 resolve ({
14271427 type: ' gpucardid' ,
@@ -1441,7 +1441,7 @@ export default {
14411441 params .gpucardid = this .form .gpucardid
14421442 }
14431443
1444- api (' listVgpuProfiles' , params).then (json => {
1444+ getAPI (' listVgpuProfiles' , params).then (json => {
14451445 const vgpuProfiles = json .listvgpuprofilesresponse .vgpuprofile
14461446 resolve ({
14471447 type: ' vgpuprofileid' ,
Original file line number Diff line number Diff line change @@ -845,7 +845,7 @@ export default {
845845 },
846846 fetchGPUCards () {
847847 this .gpuCardLoading = true
848- api (' listGpuCards' , {
848+ getAPI (' listGpuCards' , {
849849 }).then (json => {
850850 this .gpuCards = json .listgpucardsresponse .gpucard || []
851851 // Add a "None" option at the beginning
@@ -1001,7 +1001,7 @@ export default {
10011001 fetchVgpuProfiles (gpuCardId ) {
10021002 this .vgpuProfileLoading = true
10031003 this .vgpuProfiles = []
1004- api (' listVgpuProfiles' , {
1004+ getAPI (' listVgpuProfiles' , {
10051005 gpucardid: gpuCardId
10061006 }).then (json => {
10071007 this .vgpuProfiles = json .listvgpuprofilesresponse .vgpuprofile || []
You can’t perform that action at this time.
0 commit comments