Skip to content

Commit

Permalink
fix(xo-web/new-vm): respect fast clone setting
Browse files Browse the repository at this point in the history
Fixes zammad#21432
Introduced by 0d47332
Revealed by 302f7fb
  • Loading branch information
julien-f committed Feb 19, 2024
1 parent eedaca0 commit 3be45c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- [Settings/XO Config] Sort backups from newest to oldest
- [Plugins/audit] Don't log `tag.getAllConfigured` calls
- [Remotes] Correctly clear error when the remote is tested with success
- [New/VM] Respect _Fast clone_ setting broken since 5.91.0

### Packages to release

Expand Down
2 changes: 1 addition & 1 deletion packages/xo-web/src/xo-app/new-vm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ export default class NewVm extends BaseComponent {

const data = {
affinityHost: state.affinityHost && state.affinityHost.id,
clone: !this._isDiskTemplate && state.fastClone,
clone: this._isDiskTemplate && state.fastClone,
existingDisks: state.existingDisks,
installation,
name_label: state.name_label,
Expand Down

0 comments on commit 3be45c7

Please sign in to comment.