robocanic commented on code in PR #1353:
URL: https://github.com/apache/dubbo-admin/pull/1353#discussion_r2506277425


##########
pkg/console/service/application.go:
##########
@@ -267,3 +273,400 @@ func buildApplicationSearchResp(appResource 
*meshresource.ApplicationResource, m
                RegistryClusters: []string{mesh},
        }
 }
+
+func isAppAccessLogConfig(conf *meshproto.OverrideConfig, appName string) bool 
{
+       if conf.Side != consts.SideProvider ||
+               conf.Parameters == nil ||
+               conf.Match == nil ||
+               conf.Match.Application == nil ||
+               conf.Match.Application.Oneof == nil ||
+               len(conf.Match.Application.Oneof) != 1 ||
+               conf.Match.Application.Oneof[0].Exact != appName {
+               return false
+       } else if _, ok := conf.Parameters[`accesslog`]; !ok {

Review Comment:
   fixed



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to