@@ -1589,7 +1589,7 @@ export default {
15891589 })
15901590 this .fetchBootTypes ()
15911591 this .fetchBootModes ()
1592- this .fetchInstaceGroups ()
1592+ this .fetchInstanceGroups ()
15931593 this .fetchIoPolicyTypes ()
15941594 nextTick ().then (() => {
15951595 [' name' , ' keyboard' , ' boottype' , ' bootmode' , ' iothreadsenabled' , ' iodriverpolicy' , ' nicmultiqueuenumber' , ' nicpackedvirtqueues' ].forEach (this .fillValue )
@@ -1640,7 +1640,7 @@ export default {
16401640 { id: ' storage_specific' , description: ' storage_specific' }
16411641 ]
16421642 },
1643- fetchInstaceGroups () {
1643+ fetchInstanceGroups () {
16441644 this .options .instanceGroups = []
16451645 getAPI (' listInstanceGroups' , {
16461646 account: this .$store .getters .project ? .id ? null : this .$store .getters .userInfo .account ,
@@ -2467,12 +2467,12 @@ export default {
24672467 configuration .cpunumber = 0
24682468 configuration .cpuspeed = 0
24692469 configuration .memory = 0
2470- for (var harwareItem of configuration .hardwareItems ) {
2471- if (harwareItem .resourceType === ' Processor' ) {
2472- configuration .cpunumber = harwareItem .virtualQuantity
2473- configuration .cpuspeed = harwareItem .reservation
2474- } else if (harwareItem .resourceType === ' Memory' ) {
2475- configuration .memory = harwareItem .virtualQuantity
2470+ for (var hardwareItem of configuration .hardwareItems ) {
2471+ if (hardwareItem .resourceType === ' Processor' ) {
2472+ configuration .cpunumber = hardwareItem .virtualQuantity
2473+ configuration .cpuspeed = hardwareItem .reservation
2474+ } else if (hardwareItem .resourceType === ' Memory' ) {
2475+ configuration .memory = hardwareItem .virtualQuantity
24762476 }
24772477 }
24782478 configurations .push (configuration)
0 commit comments