Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit f34f49a

Browse files
authored
Merge pull request #1729 from ndeloof/drop_compose_grpc
remove obsolete compose grpc service
2 parents ff32f87 + a2ff974 commit f34f49a

File tree

7 files changed

+0
-1313
lines changed

7 files changed

+0
-1313
lines changed

cli/cmd/serve.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import (
2424
"github.com/spf13/cobra"
2525

2626
"github.com/docker/compose-cli/cli/server"
27-
composev1 "github.com/docker/compose-cli/cli/server/protos/compose/v1"
2827
containersv1 "github.com/docker/compose-cli/cli/server/protos/containers/v1"
2928
contextsv1 "github.com/docker/compose-cli/cli/server/protos/contexts/v1"
3029
streamsv1 "github.com/docker/compose-cli/cli/server/protos/streams/v1"
@@ -65,7 +64,6 @@ func runServe(ctx context.Context, opts serveOpts) error {
6564

6665
p := proxy.New(ctx)
6766

68-
composev1.RegisterComposeServer(s, p)
6967
containersv1.RegisterContainersServer(s, p)
7068
contextsv1.RegisterContextsServer(s, p.ContextsProxy())
7169
streamsv1.RegisterStreamingServer(s, p)

cli/server/metrics_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import (
3535
"github.com/docker/compose-cli/api/secrets"
3636
"github.com/docker/compose-cli/api/volumes"
3737
"github.com/docker/compose-cli/cli/metrics"
38-
composev1 "github.com/docker/compose-cli/cli/server/protos/compose/v1"
3938
containersv1 "github.com/docker/compose-cli/cli/server/protos/containers/v1"
4039
contextsv1 "github.com/docker/compose-cli/cli/server/protos/contexts/v1"
4140
streamsv1 "github.com/docker/compose-cli/cli/server/protos/streams/v1"
@@ -106,7 +105,6 @@ func setupServer() *grpc.Server {
106105
ctx := context.TODO()
107106
s := New(ctx)
108107
p := proxy.New(ctx)
109-
composev1.RegisterComposeServer(s, p)
110108
containersv1.RegisterContainersServer(s, p)
111109
streamsv1.RegisterStreamingServer(s, p)
112110
volumesv1.RegisterVolumesServer(s, p)

0 commit comments

Comments
 (0)