You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/03/25 03:15:48 UTC

[GitHub] [skywalking-swck] kezhenxu94 commented on a change in pull request #26: Upgrade skywalking-cli dependency

kezhenxu94 commented on a change in pull request #26:
URL: https://github.com/apache/skywalking-swck/pull/26#discussion_r601012665



##########
File path: pkg/provider/provider.go
##########
@@ -310,3 +296,24 @@ func (p *externalMetricsProvider) selectGroupResource(namespace string) apischem
 func (p *externalMetricsProvider) getMetricNameWithNamespace(metricName string) string {
 	return strings.Join([]string{p.namespace, metricName}, "|")
 }
+
+// TODO: remove this function once cli move it from internal module to pkg
+func parseScope(entity *swctlapi.Entity) swctlapi.Scope {

Review comment:
       > @kezhenxu94 this func is copied from cli repo. Could we move it from internal to pkg?
   
   @fgksgf can you take over this? Thanks




-- 
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:
users@infra.apache.org