diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-05-12 14:35:05 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-05-16 11:05:27 +0300 |
commit | 144164b12c4f29c0634214a0f4436f8ef5fcc0e8 (patch) | |
tree | f3663b12333237e0548ca4b9655f1af0fb9c5951 /client | |
parent | a2e11c310f8eaee5419889985f710a405fdd826d (diff) |
sidechannel: Move package into `internal/grpc/`
We've grown quite a bunch of packages that provide various different
functionality in the context of gRPC. But it is not easy to identify
them as there is no common hierarchy for gRPC-related functionality.
We're thus introducing a new `internal/grpc` package that will host
various bits and pieces related to gRPC.
Move the `internal/sidechannel` package into this new package.
Diffstat (limited to 'client')
-rw-r--r-- | client/dial.go | 2 | ||||
-rw-r--r-- | client/sidechannel.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/dial.go b/client/dial.go index 434b2c727..af5bf03dc 100644 --- a/client/dial.go +++ b/client/dial.go @@ -9,7 +9,7 @@ import ( "gitlab.com/gitlab-org/gitaly/v16/internal/backoff" "gitlab.com/gitlab-org/gitaly/v16/internal/dnsresolver" "gitlab.com/gitlab-org/gitaly/v16/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v16/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/v16/internal/grpc/sidechannel" "google.golang.org/grpc" healthpb "google.golang.org/grpc/health/grpc_health_v1" ) diff --git a/client/sidechannel.go b/client/sidechannel.go index 1a84be5dc..7610661dd 100644 --- a/client/sidechannel.go +++ b/client/sidechannel.go @@ -6,8 +6,8 @@ import ( "github.com/sirupsen/logrus" "gitlab.com/gitlab-org/gitaly/v16/internal/grpc/backchannel" + "gitlab.com/gitlab-org/gitaly/v16/internal/grpc/sidechannel" "gitlab.com/gitlab-org/gitaly/v16/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v16/internal/sidechannel" "google.golang.org/grpc" "google.golang.org/grpc/credentials" ) |