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

Fix 3.3 application name #13347

Merged
merged 4 commits into from
Nov 16, 2023
Merged

Conversation

chickenlj
Copy link
Contributor

No description provided.

# Conflicts:
#	dubbo-common/src/main/java/org/apache/dubbo/config/ApplicationConfig.java
#	dubbo-common/src/main/java/org/apache/dubbo/config/Constants.java
Comment on lines 785 to 787
if (DEFAULT_APP_NAME.equals(applicationConfig.getName())) {
throw new IllegalStateException("Application name must be set when registry is enabled.");
}
Copy link
Member

Choose a reason for hiding this comment

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

I think it would be better to allow register interface mode if users have not specified the application name. It works in interface mode.

Copy link

sonarcloud bot commented Nov 16, 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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@AlbumenJ AlbumenJ merged commit 3aacb66 into apache:3.3 Nov 16, 2023
13 of 14 checks passed
@chickenlj chickenlj deleted the fix-3.3-application-name branch November 20, 2023 02:39
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.

None yet

2 participants