'go routine' should be 'goroutine'

Signed-off-by: yulng <wei.yang@daocloud.io>
This commit is contained in:
yulng
2023-02-05 18:50:46 +08:00
parent 97480afdac
commit 6cdc221f59
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ func (c *criService) portForward(ctx context.Context, id string, port int32, str
// golang has enabled RFC 6555 Fast Fallback (aka HappyEyeballs) by default in 1.12
// It means that if a host resolves to both IPv6 and IPv4, it will try to connect to any
// of those addresses and use the working connection.
// However, the implementation uses go routines to start both connections in parallel,
// However, the implementation uses goroutines to start both connections in parallel,
// and this cases that the connection is done outside the namespace, so we try to connect
// serially.
// We try IPv4 first to keep current behavior and we fallback to IPv6 if the connection fails.