From a7c00bc1a23571dbd5e0085aac22a0e5b0d5fe40 Mon Sep 17 00:00:00 2001 From: Kun Zhang Date: Fri, 7 Aug 2015 13:12:55 +0800 Subject: [PATCH] change exportImage to top-level func Signed-off-by: Kun Zhang remove useless FIXME Signed-off-by: Kun Zhang fix Signed-off-by: Kun Zhang --- graph/export.go | 1 - pkg/parsers/parsers.go | 1 - 2 files changed, 2 deletions(-) diff --git a/graph/export.go b/graph/export.go index 28cef2e4fb..7512127f7e 100644 --- a/graph/export.go +++ b/graph/export.go @@ -105,7 +105,6 @@ func (s *TagStore) ImageExport(names []string, outStream io.Writer) error { return nil } -// FIXME: this should be a top-level function, not a class method func (s *TagStore) exportImage(name, tempdir string) error { for n := name; n != ""; { // temporary directory diff --git a/pkg/parsers/parsers.go b/pkg/parsers/parsers.go index e326a11911..96433a26a9 100644 --- a/pkg/parsers/parsers.go +++ b/pkg/parsers/parsers.go @@ -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 == "" {