refactor(worker): refactors the proxy handler to use endpoint scheme (#1491)
This commit is contained in:
1 parent
b599bb5eb2
commit
db8e9bb0c6
3 files changed
+14
-7
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user