From edc59499e7ace93e359683676eb829de1ab8c11a Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 11 Aug 2013 18:38:24 -0700 Subject: [PATCH] packer: BasicUi doesn't do machine-readable, just log --- packer/ui.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packer/ui.go b/packer/ui.go index 62d44a630..ef8dc5572 100644 --- a/packer/ui.go +++ b/packer/ui.go @@ -54,10 +54,8 @@ type TargettedUi struct { } // The BasicUI is a UI that reads and writes from a standard Go reader -// and writer. It is safe to be called from multiple goroutines. The -// target for machine-readable output can be configured by prefixing the -// type of the machine readable output with the target and separating it -// with a comma. +// and writer. It is safe to be called from multiple goroutines. Machine +// readable output is simply logged for this UI. type BasicUi struct { Reader io.Reader Writer io.Writer @@ -232,5 +230,5 @@ func (rw *BasicUi) Error(message string) { } func (rw *BasicUi) Machine(t string, args ...string) { - // TODO + log.Printf("machine readable: %s %#v", t, args) }