Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovic committed Aug 17, 2016
1 parent ecc0bd9 commit 57944e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/server.go
Expand Up @@ -931,9 +931,9 @@ func (s *Server) getClientConnectURLs() []string {
// We had a case where a Windows VM was hosed and would have err == nil
// and not add any address in the array in the loop above, and we
// ended-up returning 0.0.0.0, which is problematic for Windows clients.
// If that happens, I think we should panic to let the user that there
// If that happens, I think we should panic to let the user know that there
// is something wrong...
panic(fmt.Errorf("Resolved address seem wrong: %v", ipAddr.IP.String()))
panic(fmt.Errorf("address %q can not be resolved properly", ipAddr.IP.String()))
}
urls = append(urls, net.JoinHostPort(s.opts.Host, sPort))
}
Expand Down

0 comments on commit 57944e9

Please sign in to comment.