Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
qiuqunfeng
waf-console
Commits
12933233
Commit
12933233
authored
Sep 23, 2025
by
qiuqunfeng
Browse files
Add ID field to WafService struct in GetWaf method for improved service identification.
parent
f4c66c9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
internal/service/waf.go
internal/service/waf.go
+1
-0
No files found.
internal/service/waf.go
View file @
12933233
...
@@ -143,6 +143,7 @@ func (s *wafService) GetWaf(ctx context.Context, regionCode, namespace, gatewayN
...
@@ -143,6 +143,7 @@ func (s *wafService) GetWaf(ctx context.Context, regionCode, namespace, gatewayN
// wafService.AttackNum = int(result)
// wafService.AttackNum = int(result)
return
&
WafService
{
return
&
WafService
{
ID
:
wafService
.
ID
,
GatewayName
:
wafService
.
GatewayName
,
GatewayName
:
wafService
.
GatewayName
,
Mode
:
wafService
.
Mode
,
Mode
:
wafService
.
Mode
,
RuleNum
:
ruleNum
,
RuleNum
:
ruleNum
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment