Move agent/subscribe -> agent/rpc/subscribe

pull/8818/head
Daniel Nephin 2020-10-02 11:58:18 -04:00
parent dbb8bd679f
commit e3290f5971
6 changed files with 4 additions and 3 deletions

View File

@ -40,8 +40,8 @@ import (
"github.com/hashicorp/consul/agent/metadata" "github.com/hashicorp/consul/agent/metadata"
"github.com/hashicorp/consul/agent/pool" "github.com/hashicorp/consul/agent/pool"
"github.com/hashicorp/consul/agent/router" "github.com/hashicorp/consul/agent/router"
"github.com/hashicorp/consul/agent/rpc/subscribe"
"github.com/hashicorp/consul/agent/structs" "github.com/hashicorp/consul/agent/structs"
"github.com/hashicorp/consul/agent/subscribe"
"github.com/hashicorp/consul/agent/token" "github.com/hashicorp/consul/agent/token"
"github.com/hashicorp/consul/lib" "github.com/hashicorp/consul/lib"
"github.com/hashicorp/consul/logging" "github.com/hashicorp/consul/logging"

View File

@ -1,11 +1,12 @@
package consul package consul
import ( import (
"google.golang.org/grpc"
"github.com/hashicorp/consul/acl" "github.com/hashicorp/consul/acl"
"github.com/hashicorp/consul/agent/consul/stream" "github.com/hashicorp/consul/agent/consul/stream"
agentgrpc "github.com/hashicorp/consul/agent/grpc" agentgrpc "github.com/hashicorp/consul/agent/grpc"
"github.com/hashicorp/consul/agent/subscribe" "github.com/hashicorp/consul/agent/rpc/subscribe"
"google.golang.org/grpc"
) )
type subscribeBackend struct { type subscribeBackend struct {