Commit ab7a181b authored by qiuqunfeng's avatar qiuqunfeng
Browse files

commit

parent 64b675ef
......@@ -39,6 +39,7 @@ func (s *wafService) GetWaf(ctx context.Context, regionCode, namespace, gatewayN
Namespace: namespace,
GatewayName: gatewayName,
Mode: string(WafModeAlert),
Host: model.HostList([]string{"*"}),
}
if err := s.db.Create(wafService).Error; err != nil {
return nil, fmt.Errorf("failed to create WAF service: %v", err)
......
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