Skip to content

Commit

Permalink
cni: Remove unused struct field
Browse files Browse the repository at this point in the history
It is not used anywhere. This contains no functional changes.

Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
  • Loading branch information
gandro committed Jun 27, 2023
1 parent 0e4c3b2 commit d1162cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/cilium-cni/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func init() {
}

type CmdState struct {
Endpoint *models.EndpointChangeRequest
IP6 netip.Addr
IP6routes []route.Route
IP4 netip.Addr
Expand Down Expand Up @@ -512,7 +511,6 @@ func cmdAdd(args *skel.CmdArgs) (err error) {
}

state := CmdState{
Endpoint: ep,
Client: c,
HostAddr: ipam.HostAddressing,
}
Expand Down

0 comments on commit d1162cc

Please sign in to comment.