enable gosimple linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@ -167,7 +167,7 @@ func isolationStage2BridgeRule(bridgeName string) []string {
|
||||
}
|
||||
|
||||
func withDefaultComment(rule []string) []string {
|
||||
defaultComment := fmt.Sprintf("CNI firewall plugin rules (ingressPolicy: same-bridge)")
|
||||
defaultComment := "CNI firewall plugin rules (ingressPolicy: same-bridge)"
|
||||
return withComment(rule, defaultComment)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user