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

Don't create DVM resource if no PVCs are present #1381

Conversation

awels
Copy link
Contributor

@awels awels commented Aug 1, 2024

in the migration plan and IndirectVolumeMigration is set to false.

Fixed hasDirectVolumes to properly return false when the list is empty. It was returning a pointer to the list before, and the list object was never nil and thus would never return false. Since slices are pointers already there was no need for a pointer to the slice.

in the migration plan and IndirectVolumeMigration is
set to false.

Signed-off-by: Alexander Wels <[email protected]>
Copy link
Contributor

@dymurray dymurray left a comment

Choose a reason for hiding this comment

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

LGTM

@dymurray dymurray merged commit 622008c into migtools:master Aug 1, 2024
1 check 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