wu-sheng commented on a change in pull request #79:
URL: https://github.com/apache/skywalking-cli/pull/79#discussion_r538979290
##########
File path: commands/interceptor/scope.go
##########
@@ -31,7 +31,7 @@ func ParseScope(name string) schema.Scope {
ret = schema.ScopeServiceRelation
} else if strings.HasPrefix(name, "service_instance_relation") {
ret = schema.ScopeServiceInstanceRelation
- } else if strings.HasPrefix(name, "service_instance") {
+ } else if strings.HasPrefix(name, "service_instance") ||
strings.HasPrefix(name, "instance_") {
Review comment:
Let me be more clear. `auto-scope logic` means the scope is based on the
input parameter.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]