agent: move NotifyGroup into the agent pkg
This commit is contained in:
parent
2c47bc5d5b
commit
db78252019
|
@ -22,7 +22,6 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/hashicorp/consul/agent/consul"
|
||||
"github.com/hashicorp/consul/agent/consul/state"
|
||||
"github.com/hashicorp/consul/agent/consul/structs"
|
||||
"github.com/hashicorp/consul/api"
|
||||
"github.com/hashicorp/consul/ipaddr"
|
||||
|
@ -135,7 +134,7 @@ type Agent struct {
|
|||
eventBuf []*UserEvent
|
||||
eventIndex int
|
||||
eventLock sync.RWMutex
|
||||
eventNotify state.NotifyGroup
|
||||
eventNotify NotifyGroup
|
||||
|
||||
reloadCh chan chan error
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package state
|
||||
package agent
|
||||
|
||||
import (
|
||||
"sync"
|
|
@ -1,4 +1,4 @@
|
|||
package state
|
||||
package agent
|
||||
|
||||
import (
|
||||
"testing"
|
Loading…
Reference in New Issue