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

openstack: fix cognitive complexity #491

Merged
merged 5 commits into from
Dec 25, 2023

Conversation

mmartinv
Copy link
Contributor

@mmartinv mmartinv commented Aug 3, 2023

Signed-off-by: Miguel Martín [email protected]

@mmartinv mmartinv force-pushed the openstack-fix-congnitive-complexity branch from 5986718 to 616391a Compare August 3, 2023 09:42
@mmartinv mmartinv marked this pull request as ready for review August 3, 2023 10:18
@mmartinv mmartinv requested review from ahadas and bennyz as code owners August 3, 2023 10:18
@mmartinv mmartinv force-pushed the openstack-fix-congnitive-complexity branch 2 times, most recently from b630f54 to 39586bb Compare August 3, 2023 10:57
@mmartinv mmartinv requested review from nyoxi and mnecas as code owners August 22, 2023 16:05
@mmartinv mmartinv force-pushed the openstack-fix-congnitive-complexity branch from c455d42 to 0d7926c Compare August 22, 2023 16:06
@sonarcloud
Copy link

sonarcloud bot commented Aug 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ahadas ahadas force-pushed the openstack-fix-congnitive-complexity branch 2 times, most recently from 004db30 to 09ff44b Compare December 24, 2023 17:24
@ahadas ahadas self-requested a review December 24, 2023 22:00
Copy link
Member

@ahadas ahadas left a comment

Choose a reason for hiding this comment

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

commented but I'll address those comments

pkg/controller/plan/adapter/openstack/builder.go Outdated Show resolved Hide resolved
pkg/controller/plan/adapter/openstack/client.go Outdated Show resolved Hide resolved
@ahadas ahadas force-pushed the openstack-fix-congnitive-complexity branch 3 times, most recently from f8672cf to 736e698 Compare December 25, 2023 13:20
@ahadas ahadas force-pushed the openstack-fix-congnitive-complexity branch from fe1139c to 8c38ac2 Compare December 25, 2023 15:02
@ahadas
Copy link
Member

ahadas commented Dec 25, 2023

@bennyz please review the openstack related changes
@liranr23 please review the changes in EnsurePopulatorVolumes (filtering pending PVCs for the binding pod)

@ahadas ahadas force-pushed the openstack-fix-congnitive-complexity branch from 8c38ac2 to db0d364 Compare December 25, 2023 16:29
@ahadas ahadas force-pushed the openstack-fix-congnitive-complexity branch 2 times, most recently from 1f56c64 to ba1e1af Compare December 25, 2023 16:37
Signed-off-by: Arik Hadas <[email protected]>
@ahadas ahadas force-pushed the openstack-fix-congnitive-complexity branch from ba1e1af to c1e99f7 Compare December 25, 2023 16:39
Copy link

sonarcloud bot commented Dec 25, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.7% Duplication on New Code

See analysis details on SonarCloud

@ahadas ahadas requested a review from bennyz December 25, 2023 16:40
@liranr23
Copy link
Member

liranr23 commented Dec 25, 2023

@liranr23 please review the changes in EnsurePopulatorVolumes (filtering pending PVCs for the binding pod)

looks ok, you can instead check the storage class (or profile) and see if it's wait for consumer.

@ahadas ahadas merged commit 8e8e4e8 into kubev2v:main Dec 25, 2023
10 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.

4 participants