зеркало из https://github.com/github/vitess-gh.git
Fix typo in unrelated comment
Signed-off-by: Andrew Mason <amason@slack-corp.com>
This commit is contained in:
Родитель
76db205e66
Коммит
41354f07f9
|
@ -226,7 +226,7 @@ func MysqlAddr(tablet *topodatapb.Tablet) string {
|
|||
return netutil.JoinHostPort(tablet.MysqlHostname, tablet.MysqlPort)
|
||||
}
|
||||
|
||||
// MySQLIP returns the MySQL server's IP by resolvign the host name.
|
||||
// MySQLIP returns the MySQL server's IP by resolving the hostname.
|
||||
func MySQLIP(tablet *topodatapb.Tablet) (string, error) {
|
||||
ipAddrs, err := net.LookupHost(tablet.MysqlHostname)
|
||||
if err != nil {
|
||||
|
|
Загрузка…
Ссылка в новой задаче