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
eaa62633
Commit
eaa62633
authored
Mar 19, 2025
by
qiuqunfeng
Browse files
debug
parent
0ecd4716
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 @
eaa62633
...
...
@@ -1052,6 +1052,7 @@ func (s *wafService) deleteConfigMap(ctx context.Context, id uint32, regionCode
}
func
(
s
*
wafService
)
DeleteBlackWhiteList
(
ctx
context
.
Context
,
ID
uint32
)
error
{
log
.
Info
()
.
Interface
(
"delete black white list"
,
ID
)
.
Msg
(
"delete black white list"
)
matcherExpr
:=
model
.
MatcherExpr
{}
err
:=
s
.
db
.
WithContext
(
ctx
)
.
Where
(
"id = ?"
,
ID
)
.
First
(
&
matcherExpr
)
.
Error
if
err
!=
nil
{
...
...
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