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 82a132da60
commit 4273fb8444
3 changed files with 3 additions and 4 deletions

View File

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

View File

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

View File

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