Skip to content

Commit

Permalink
linting: ignore deprecated celsig function
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeldtinoco committed May 8, 2023
1 parent 829a2e9 commit f7c0bee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/signatures/celsig/library.go
Expand Up @@ -47,6 +47,8 @@ func (c *customLib) CompileOptions() []cel.EnvOption {

func (c *customLib) ProgramOptions() []cel.ProgramOption {
return []cel.ProgramOption{
// revive:disable (TODO: cel.Functions is deprecated)
//lint:ignore SA1019 deprecated
cel.Functions(
&functions.Overload{
Operator: "wrapper.Event_stringArg_string",
Expand All @@ -57,6 +59,7 @@ func (c *customLib) ProgramOptions() []cel.ProgramOption {
Binary: c.sockaddrArg,
},
),
// revive:enable
}
}

Expand Down

0 comments on commit f7c0bee

Please sign in to comment.