change exportImage to top-level func
Signed-off-by: Kun Zhang <zkazure@gmail.com> remove useless FIXME Signed-off-by: Kun Zhang <zkazure@gmail.com> fix Signed-off-by: Kun Zhang <zkazure@gmail.com>
This commit is contained in:
parent
2441d6e0f1
commit
0fbf03ce5f
1 changed files with 0 additions and 1 deletions
|
@ -14,7 +14,6 @@ import (
|
||||||
|
|
||||||
// ParseHost parses the specified address and returns an address that will be used as the host.
|
// 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
|
// 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) {
|
func ParseHost(defaultTCPAddr, defaultUnixAddr, addr string) (string, error) {
|
||||||
addr = strings.TrimSpace(addr)
|
addr = strings.TrimSpace(addr)
|
||||||
if addr == "" {
|
if addr == "" {
|
||||||
|
|
Loading…
Reference in a new issue