Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmasi committed May 9, 2024
1 parent d94c968 commit 09c559a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataplane/forwarding/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func CounterInfo(obj fwdobject.Object) string {
}

// PortInfo returns the details of the specified Port.
func PortInfo(ctx *fwdcontext.Context, arg interface{}) (*fwdpb.PortElementInfo, error) {
func PortInfo(_ *fwdcontext.Context, arg interface{}) (*fwdpb.PortElementInfo, error) {
port, ok := arg.(fwdport.Port)
if !ok {
return nil, fmt.Errorf("arg %v is not a Port", arg)
Expand Down

0 comments on commit 09c559a

Please sign in to comment.