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

scanner: correct the autoProvision mechanism (backport #147) #148

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 27, 2024

- we should not set both `Spec.Filesystem.Provisioned` and
  `Spec.Provision` or the remove operation would be blocked if
  we only change one of these to false.

This is a side-effect that comes from 1877a4ef1743e4bb01b81179aacfe5b32da059ed.
For now, we will remove one of these two fields to ensure the delete operation
work. We still need mutator to help convert these two fields.

Problem:
The removal operation would be blocked if we only changed one of these to false.

Solution:
For now, we will remove one of these two fields to ensure the delete operation work.

Related Issue:

Test plan:


This is an automatic backport of pull request #147 done by [Mergify](https://mergify.com).

    - we should not set both `Spec.Filesystem.Provisioned` and
      `Spec.Provision` or the remove operation would be blocked if
      we only change one of these to false.

    This is a side-effect that comes from 1877a4e.
    For now, we will remove one of these two fields to ensure the delete operation
    work. We still need mutator to help convert these two fields.

Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
(cherry picked from commit d5b7347)
@Vicente-Cheng Vicente-Cheng merged commit 57ce9db into v0.7.x Sep 27, 2024
4 of 5 checks passed
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.

2 participants