-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 service list can not search by groupName only #4302
Conversation
update version to 1.3.0
Upgrade to 1.3.1 version
Upgrade to 1.3.2
Master upgrade 1.4.0
@@ -73,4 +73,9 @@ public static void checkServiceNameFormat(String combineServiceName) { | |||
"Param 'serviceName' is illegal, it should be format as 'groupName@@serviceName'"); | |||
} | |||
} | |||
|
|||
public static String getGroupedNameOptional(final String serviceName, final String groupName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add some comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok,fine
* nil | groupA | threw IllegalArgumentException | ||
* | ||
* | ||
* @return 'serviceName@@groupName' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
serviceName@@groupName ? should groupName@@serviceName I think
* See {@link com.alibaba.nacos.api.naming.utils.NamingUtils#getGroupedNameOptional(String, String)} | ||
* | ||
* etc: serviceName | groupName | result | ||
* serviceA | groupA | serviceA@@groupA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, i have fix it.
* nil | groupA | @@groupA | ||
* nil | nil | @@ | ||
* | ||
* @return 'serviceName@@groupName' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same problem with above
Execute me, Your commit log has error. I think you need to fix it By rebase or checkout a new branch to modify and submit PR again. |
Fixes #4282