Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(xapi/VM_destroy): handle is_default_template #5644

Merged
merged 43 commits into from
Mar 23, 2021

Conversation

MathieuRA
Copy link
Member

@MathieuRA MathieuRA commented Mar 5, 2021

Check list

Check if done, if not relevant leave unchecked.

  • PR reference the relevant issue (e.g. Fixes #007 or See xoa-support#42)
  • if UI changes, a screenshot has been added to the PR
  • documentation updated
  • CHANGELOG.unreleased.md:
    • enhancement/bug fix entry added
    • list of packages to release updated (${name} v${new version})
  • I have tested added/updated features (and impacted code)

Process

  1. create a PR as soon as possible
  2. mark it as WiP: (Work in Progress) if not ready to be merged
  3. when you want a review, add a reviewer (and only one)
  4. if necessary, update your PR, and re- add a reviewer

From the Four Agreements:

  1. Be impeccable with your word.
  2. Don't take anything personally.
  3. Don't make assumptions.
  4. Always do your best.

@MathieuRA MathieuRA requested a review from badrAZ March 5, 2021 14:44
packages/xo-server/src/xapi/index.js Outdated Show resolved Hide resolved
CHANGELOG.unreleased.md Outdated Show resolved Hide resolved
@badrAZ badrAZ requested a review from pdonias March 5, 2021 16:22
Copy link
Member

@pdonias pdonias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there a GitHub issue about this?

packages/xo-server/src/xapi/index.js Outdated Show resolved Hide resolved
@MathieuRA MathieuRA requested a review from badrAZ March 15, 2021 09:58
@MathieuRA
Copy link
Member Author

Was there an GitHub issue about this?

Not that i know

packages/xo-server/src/xapi/index.js Outdated Show resolved Hide resolved
packages/xo-server/src/xapi-object-to-xo.js Outdated Show resolved Hide resolved
packages/xo-web/src/common/xo/index.js Outdated Show resolved Hide resolved
@MathieuRA MathieuRA requested a review from badrAZ March 16, 2021 13:28
Copy link
Contributor

@badrAZ badrAZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing to add!

@MathieuRA MathieuRA requested a review from badrAZ March 16, 2021 15:58
@badrAZ badrAZ requested a review from pdonias March 16, 2021 16:37
packages/xo-server/src/xapi-object-to-xo.js Outdated Show resolved Hide resolved
packages/xo-web/src/common/xo/index.js Outdated Show resolved Hide resolved
@MathieuRA MathieuRA requested a review from pdonias March 17, 2021 15:11
@julien-f julien-f removed their request for review March 22, 2021 13:44
@MathieuRA MathieuRA requested a review from julien-f March 22, 2021 14:49
@MathieuRA MathieuRA requested a review from julien-f March 23, 2021 10:06
@MathieuRA MathieuRA requested a review from julien-f March 23, 2021 14:51
Co-authored-by: Julien Fontanet <julien.fontanet@isonoe.net>
@MathieuRA
Copy link
Member Author

Can i create new PR to replace deleteVm by VM_destroy everywhere and finally delete deleveVm of xapi so ?

@julien-f
Copy link
Member

Can i create new PR to replace deleteVm by VM_destroy everywhere and finally delete deleveVm of xapi so ?

Yep

@julien-f julien-f changed the title fix(xo-server/xapi): throw vmIsTemplate when trying to delete default template fix(xapi/VM_destroy): handle is_default_template Mar 23, 2021
Copy link
Member

@julien-f julien-f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xen-orchestra/xapi must be released

@MathieuRA MathieuRA requested a review from julien-f March 23, 2021 16:18
@julien-f julien-f merged commit 5f1c127 into master Mar 23, 2021
@julien-f julien-f deleted the mathieu-fixDeleteDefaultTemplate branch March 23, 2021 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants