diff --git a/container/factory.go b/container/factory.go index 54cbbc6c..f96a23e7 100644 --- a/container/factory.go +++ b/container/factory.go @@ -16,7 +16,6 @@ package container import ( "fmt" - "log" "sync" ) @@ -53,7 +52,6 @@ func NewContainerHandler(name string) (ContainerHandler, error) { // Create the ContainerHandler with the first factory that supports it. for _, factory := range factories { if factory.CanHandle(name) { - log.Printf("Using factory %q for container %q", factory.String(), name) return factory.NewContainerHandler(name) } } diff --git a/utils/path.go b/utils/path.go index e842a519..115ddf2d 100644 --- a/utils/path.go +++ b/utils/path.go @@ -4,7 +4,7 @@ import "os" func FileExists(file string) bool { if _, err := os.Stat(file); err != nil { - return true + return false } - return false + return true }