From eed3f5a13faf0704625e15960a485fe272960db5 Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Wed, 16 Dec 2020 09:26:25 +0800 Subject: [PATCH] Fix: typo (#524) --- transport/internet/tcp/hub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/tcp/hub.go b/transport/internet/tcp/hub.go index eff9bf4b2..c5c42bb99 100644 --- a/transport/internet/tcp/hub.go +++ b/transport/internet/tcp/hub.go @@ -46,7 +46,7 @@ func ListenTCP(ctx context.Context, address net.Address, port net.Port, streamSe Net: "unix", }, streamSettings.SocketSettings) if err != nil { - return nil, newError("failed to listen Unix Doman Socket on ", address).Base(err) + return nil, newError("failed to listen Unix Domain Socket on ", address).Base(err) } newError("listening Unix Domain Socket on ", address).WriteToLog(session.ExportIDToError(ctx)) locker := ctx.Value(address.Domain())