From 8d7f7199c994e49e0fb0809814f63d745d179f9d Mon Sep 17 00:00:00 2001 From: niusmallnan Date: Tue, 28 May 2019 13:57:00 +0800 Subject: [PATCH] Fix logs output of the tftp datasource --- config/cloudinit/datasource/tftp/tftp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cloudinit/datasource/tftp/tftp.go b/config/cloudinit/datasource/tftp/tftp.go index d7e3e969..380b5f3f 100644 --- a/config/cloudinit/datasource/tftp/tftp.go +++ b/config/cloudinit/datasource/tftp/tftp.go @@ -55,7 +55,7 @@ func (f *RemoteFile) Finish() error { } func (f *RemoteFile) String() string { - return fmt.Sprintf("%s: %s%s (lastError: %v)", f.Type(), f.host, f.path, f.lastError) + return fmt.Sprintf("%s, host:%s, path:%s (lastError: %v)", f.Type(), f.host, f.path, f.lastError) } func (f *RemoteFile) AvailabilityChanges() bool {