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

SLCORE-1064 Fix the loading of sonar-text analyzer in Connected Mode #1179

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

nquinquenel
Copy link
Member

@nquinquenel nquinquenel commented Dec 3, 2024

@nquinquenel nquinquenel force-pushed the bug/nq/SLCORE-1064-fix-loading-sonar-text branch from 38375f9 to 8164c37 Compare December 3, 2024 17:32
@nquinquenel nquinquenel merged commit bcb5320 into master Dec 4, 2024
12 checks passed
@nquinquenel nquinquenel deleted the bug/nq/SLCORE-1064-fix-loading-sonar-text branch December 4, 2024 08:36
@@ -179,7 +179,7 @@ public boolean supportsCustomSecrets(String connectionId) {
return false;
}
// when storage is not present, assume that secrets are not supported by server
return connection.getKind() != ConnectionKind.SONARCLOUD && storageService.connection(connectionId).serverInfo().read()
return connection.getKind() == ConnectionKind.SONARCLOUD || storageService.connection(connectionId).serverInfo().read()
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't have to be done for the release but I think a test would help. It was already missing because we did not discover the bug in the first place, now that we are fixing it, I think we should add one

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.

3 participants