1
0
mirror of https://github.com/rancher/os.git synced 2025-09-07 01:31:06 +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

@@ -57,7 +57,7 @@ func (c *ProcCmdline) Finish() error {
}
func (c *ProcCmdline) String() string {
return fmt.Sprintf("%s: %s (lastError: %s)", c.Type(), c.Location, c.lastError)
return fmt.Sprintf("%s: %s (lastError: %v)", c.Type(), c.Location, c.lastError)
}
func (c *ProcCmdline) AvailabilityChanges() bool {