Merge pull request #15393 from azurezk/exportImage-toplevel

change exportImage to top-level func
This commit is contained in:
Jessie Frazelle 2015-08-24 14:35:55 -07:00
commit 066a0b3b75

View file

@ -14,7 +14,6 @@ import (
// ParseHost parses the specified address and returns an address that will be used as the host.
// Depending of the address specified, will use the defaultTCPAddr or defaultUnixAddr
// FIXME: Change this not to receive default value as parameter
func ParseHost(defaultTCPAddr, defaultUnixAddr, addr string) (string, error) {
addr = strings.TrimSpace(addr)
if addr == "" {