Commit 12933233 authored by qiuqunfeng's avatar qiuqunfeng
Browse files

Add ID field to WafService struct in GetWaf method for improved service identification.

parent f4c66c9f
......@@ -143,6 +143,7 @@ func (s *wafService) GetWaf(ctx context.Context, regionCode, namespace, gatewayN
// wafService.AttackNum = int(result)
return &WafService{
ID: wafService.ID,
GatewayName: wafService.GatewayName,
Mode: wafService.Mode,
RuleNum: ruleNum,
......
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