refactor(worker): refactors the proxy handler to use endpoint scheme (#1491)

This commit is contained in:
Louis Ruch authored and GitHub committed 2021-09-01 07:22:45 -07:00
1 parent b599bb5eb2
commit db8e9bb0c6
3 files changed
+14 -7

No files matched your search

+1 -2
View File
@@ -7,7 +7,6 @@ import (
"net/url"
"sync"
"github.com/hashicorp/boundary/globals"
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
"github.com/hashicorp/boundary/internal/observability/event"
"github.com/hashicorp/boundary/internal/servers/worker/proxy"
@@ -16,7 +15,7 @@ import (
)
func init() {
err := proxy.RegisterHandler(globals.TcpProxyV1, handleTcpProxyV1)
err := proxy.RegisterHandler("tcp", handleTcpProxyV1)
if err != nil {
panic(err)
}