Skip to content

Commit 2639f92

Browse files
committed
move client back into stacksplugin1 package
1 parent 072a301 commit 2639f92

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: internal/rpcapi/stackspluginclient/grpc_client.go renamed to internal/stacksplugin/stacksplugin1/grpc_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) HashiCorp, Inc.
22
// SPDX-License-Identifier: BUSL-1.1
33

4-
package stackspluginclient
4+
package stacksplugin1
55

66
import (
77
"context"

Diff for: internal/stacksplugin/stacksplugin1/grpc_plugin.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010

1111
"github.com/hashicorp/go-plugin"
1212
"github.com/hashicorp/terraform-svchost/disco"
13-
"github.com/hashicorp/terraform/internal/rpcapi/stackspluginclient"
1413
"github.com/hashicorp/terraform/internal/stacksplugin"
1514
"github.com/hashicorp/terraform/internal/stacksplugin/stacksproto1"
1615
"google.golang.org/grpc"
@@ -48,7 +47,7 @@ func (p *GRPCStacksPlugin) Client(*plugin.MuxBroker, *rpc.Client) (interface{},
4847
// GRPCClient returns a new GRPC client for interacting with the cloud plugin server.
4948
func (p *GRPCStacksPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) {
5049
ctx = metadata.NewOutgoingContext(ctx, p.Metadata)
51-
return &stackspluginclient.GRPCStacksClient{
50+
return &GRPCStacksClient{
5251
Client: stacksproto1.NewCommandServiceClient(c),
5352
Broker: broker,
5453
Services: p.Services,

0 commit comments

Comments
 (0)