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

Add check on cluster distance being less than 1 #1240

Merged
merged 3 commits into from
May 1, 2024

Conversation

simon-leech
Copy link
Contributor

@simon-leech simon-leech commented May 1, 2024

This PR adds a check to the cluster.distance value to ensure it is more than 1.
I noticed a lot of configuration using values less than 1, but this currently silently fails.
This PR simply warns about the issue, forcing the developer to resolve it to remove the warning.


Copy link

sonarcloud bot commented May 1, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@dbauszus-glx dbauszus-glx left a comment

Choose a reason for hiding this comment

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

Looks good. I just shortened the warning. And inidicated that the cluster will be removed after the warning.
image

@dbauszus-glx dbauszus-glx merged commit 909354e into GEOLYTIX:main May 1, 2024
4 checks passed
@RobAndrewHurst RobAndrewHurst added the Bug A genuine bug. There must be some form of error exception to work with. label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A genuine bug. There must be some form of error exception to work with.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants