Skip to content

Commit

Permalink
daemon: remove unused type rulesManager
Browse files Browse the repository at this point in the history
It's been unused since commit 5882053 ("datapath: make `Datapath`
an `IptablesManager`")

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
  • Loading branch information
tklauser committed Feb 14, 2020
1 parent 1810709 commit b33ee64
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,6 @@ func createPrefixLengthCounter() *counter.PrefixLengthCounter {
return counter.DefaultPrefixLengthCounter(max6, max4)
}

type rulesManager interface {
RemoveRules()
InstallRules(ifName string) error
TransientRulesStart(ifName string) error
TransientRulesEnd(quiet bool)
}

// NewDaemon creates and returns a new Daemon with the parameters set in c.
func NewDaemon(ctx context.Context, dp datapath.Datapath) (*Daemon, *endpointRestoreState, error) {

Expand Down

0 comments on commit b33ee64

Please sign in to comment.