mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
agent: move NotifyGroup into the agent pkg
This commit is contained in:
parent
82a132da60
commit
4273fb8444
@ -22,7 +22,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/hashicorp/consul/agent/consul"
|
"github.com/hashicorp/consul/agent/consul"
|
||||||
"github.com/hashicorp/consul/agent/consul/state"
|
|
||||||
"github.com/hashicorp/consul/agent/consul/structs"
|
"github.com/hashicorp/consul/agent/consul/structs"
|
||||||
"github.com/hashicorp/consul/api"
|
"github.com/hashicorp/consul/api"
|
||||||
"github.com/hashicorp/consul/ipaddr"
|
"github.com/hashicorp/consul/ipaddr"
|
||||||
@ -135,7 +134,7 @@ type Agent struct {
|
|||||||
eventBuf []*UserEvent
|
eventBuf []*UserEvent
|
||||||
eventIndex int
|
eventIndex int
|
||||||
eventLock sync.RWMutex
|
eventLock sync.RWMutex
|
||||||
eventNotify state.NotifyGroup
|
eventNotify NotifyGroup
|
||||||
|
|
||||||
reloadCh chan chan error
|
reloadCh chan chan error
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package state
|
package agent
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
@ -1,4 +1,4 @@
|
|||||||
package state
|
package agent
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
Loading…
x
Reference in New Issue
Block a user