agent: move NotifyGroup into the agent pkg

This commit is contained in:
Frank Schroeder 2017-06-15 18:45:30 +02:00 committed by Frank Schröder
parent 2c47bc5d5b
commit db78252019
3 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
package state
package agent
import (
"sync"

View File

@ -1,4 +1,4 @@
package state
package agent
import (
"testing"