1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 23:34:57 +00:00

Fix error format in cloudinit

This commit is contained in:
niusmallnan
2018-07-30 17:40:58 +08:00
parent 9d3dd8796e
commit f2b09794e4
7 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ func (f *LocalFile) Finish() error {
}
func (f *LocalFile) String() string {
return fmt.Sprintf("%s: %s (lastError: %s)", f.Type(), f.path, f.lastError)
return fmt.Sprintf("%s: %s (lastError: %v)", f.Type(), f.path, f.lastError)
}
func (f *LocalFile) AvailabilityChanges() bool {