File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1133,7 +1133,7 @@ export default {
11331133 this .vm .hostname = host .name
11341134 }
11351135
1136- if (this .serviceOffering .rootdisksize ) {
1136+ if (this .serviceOffering ? .rootdisksize ) {
11371137 this .vm .disksizetotalgb = this .serviceOffering .rootdisksize
11381138 } else if (this .diskSize ) {
11391139 this .vm .disksizetotalgb = this .diskSize
@@ -2097,6 +2097,7 @@ export default {
20972097 this .updateComputeOffering (null )
20982098 },
20992099 updateTemplateConfigurationOfferingDetails (offeringId ) {
2100+ this .rootDiskSizeFixed = 0
21002101 var offering = this .serviceOffering
21012102 if (! offering || offering .id !== offeringId) {
21022103 offering = _ .find (this .options .serviceOfferings , (option ) => option .id === offeringId)
Original file line number Diff line number Diff line change @@ -57,7 +57,11 @@ mocks = {
5757 return option
5858 } ) ,
5959 info : jest . fn ( ( option ) => {
60- return option
60+ return {
61+ message : option . message ,
62+ description : 'test-description' ,
63+ duration : option . duration
64+ }
6165 } ) ,
6266 success : jest . fn ( ( option ) => {
6367 return option
You can’t perform that action at this time.
0 commit comments