@@ -159,7 +159,7 @@ export default {
159159 id: 7 ,
160160 name: ' OpenSUSE 15.5' ,
161161 version: ' 15.5' ,
162- osCategoryName: ' OpneSUSE ' ,
162+ osCategoryName: ' OpenSUSE ' ,
163163 arch: ' x86_64' ,
164164 url: ' https://mirror.squ.edu.om/opensuse/opensuse/distribution/leap/15.5/appliances/openSUSE-Leap-15.5-Minimal-VM.x86_64-Cloud.qcow2'
165165 },
@@ -207,7 +207,7 @@ export default {
207207 id: 13 ,
208208 name: ' OpenSUSE 15.5' ,
209209 version: ' 15.5' ,
210- osCategoryName: ' OpneSUSE ' ,
210+ osCategoryName: ' OpenSUSE ' ,
211211 arch: ' aarch64' ,
212212 url: ' https://download.opensuse.org/distribution/leap/15.5/appliances/openSUSE-Leap-15.5-Minimal-VM.aarch64-Cloud.qcow2'
213213 }
@@ -248,7 +248,6 @@ export default {
248248 const templatesToRegister = this .predefinedTemplates .filter (template => this .selectedRowKeys .includes (template .id ) && this .deployedTemplates [template .id ] !== true )
249249 const registrationResults = []
250250 for (const templateData of templatesToRegister) {
251- console .log (` Registering template: ${ templateData .name } with ID: ${ templateData .id } ` )
252251 const promise = this .registerTemplate (templateData)
253252 .then (() => ({
254253 id: templateData .id ,
@@ -305,9 +304,9 @@ export default {
305304 return osTypeId
306305 },
307306 getImageFormat (url ) {
308- const extenstion = url .split (' .' ).pop ()
309- var format = extenstion
310- switch (extenstion ) {
307+ const fileExtension = url .split (' .' ).pop ()
308+ var format = fileExtension
309+ switch (fileExtension ) {
311310 case ' img' :
312311 format = ' RAW'
313312 break
0 commit comments