Skip to content

Commit 4ec337f

Browse files
authored
ui: pass requireshvm param for register/upload template API (#5050)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent d47e273 commit 4ec337f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ui/src/views/image/RegisterOrUploadTemplate.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,9 @@ export default {
837837
}
838838
}
839839
}
840+
if (!('requireshvm' in params)) { // handled as default true by API
841+
params.requireshvm = false
842+
}
840843
if (this.currentForm === 'Create') {
841844
this.loading = true
842845
api('registerTemplate', params).then(json => {

0 commit comments

Comments
 (0)