-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently if there are two services, and one service is named busybox while the other is busybox-top. It is not possible to remove the busybox service by giving its fullname which is also a common name prefix of both. The only way out is removing the busybox-top service first. This looks not an acceptable behavior. The same problem applies to clusters, nodes and networks. Fix it by finding a full name match if prefix matches are more than one. Another way to fix it is that start a request with a full name filter before doing it with a name prefix filter. But I think this way just presents the same result but adds one more call overhead to server. Signed-off-by: Jin Xu <jinuxstyle@hotmail.com> v2: do not use node's Spec.Annotations.Name as defaut
- Loading branch information
1 parent
af23e13
commit 2a644ad
Showing
5 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters