From 98de7e24ac2ddc8ab04ab9851705c3fa9a25219e Mon Sep 17 00:00:00 2001 From: cheng wei Date: Tue, 8 Jan 2019 02:14:06 +0800 Subject: [PATCH] internal: change split2() comment to be consistent with behavior (#2547) --- resolver_conn_wrapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolver_conn_wrapper.go b/resolver_conn_wrapper.go index 9d760253..50991eaf 100644 --- a/resolver_conn_wrapper.go +++ b/resolver_conn_wrapper.go @@ -39,7 +39,7 @@ type ccResolverWrapper struct { } // split2 returns the values from strings.SplitN(s, sep, 2). -// If sep is not found, it returns ("", s, false) instead. +// If sep is not found, it returns ("", "", false) instead. func split2(s, sep string) (string, string, bool) { spl := strings.SplitN(s, sep, 2) if len(spl) < 2 {