Commit b501b6b5 authored by qiuqunfeng's avatar qiuqunfeng
Browse files

Add logging for svcMap in CreateBlackWhiteList method of WAF service

- Introduce logging of svcMap to provide better visibility into service mapping during Black/White List creation
- Enhance debugging capabilities for the WAF service operations
parent b4061e3b
......@@ -998,6 +998,7 @@ func (s *wafService) CreateBlackWhiteList(ctx context.Context, req *MatcherExpr)
if err != nil {
return err
}
log.Info().Interface("svcMap", svcMap).Msg("svcMap")
for regionCode, wafServices := range svcMap {
err := s.createConfigMap(ctx, req, regionCode, wafServices)
if err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment