@@ -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 ,
@@ -2469,12 +2469,12 @@ export default {
24692469 configuration .cpunumber = 0
24702470 configuration .cpuspeed = 0
24712471 configuration .memory = 0
2472- for (var harwareItem of configuration .hardwareItems ) {
2473- if (harwareItem .resourceType === ' Processor' ) {
2474- configuration .cpunumber = harwareItem .virtualQuantity
2475- configuration .cpuspeed = harwareItem .reservation
2476- } else if (harwareItem .resourceType === ' Memory' ) {
2477- configuration .memory = harwareItem .virtualQuantity
2472+ for (var hardwareItem of configuration .hardwareItems ) {
2473+ if (hardwareItem .resourceType === ' Processor' ) {
2474+ configuration .cpunumber = hardwareItem .virtualQuantity
2475+ configuration .cpuspeed = hardwareItem .reservation
2476+ } else if (hardwareItem .resourceType === ' Memory' ) {
2477+ configuration .memory = hardwareItem .virtualQuantity
24782478 }
24792479 }
24802480 configurations .push (configuration)
0 commit comments