mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Fix lint error on sprintf call for runtime string
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
@@ -48,7 +48,7 @@ func (daemon *Daemon) reloadPlatform(conf *config.Config, attributes map[string]
|
||||
if runtimeList.Len() > 0 {
|
||||
runtimeList.WriteRune(' ')
|
||||
}
|
||||
runtimeList.WriteString(fmt.Sprintf("%s:%s", name, rt))
|
||||
runtimeList.WriteString(fmt.Sprintf("%s:%s", name, rt.Path))
|
||||
}
|
||||
|
||||
attributes["runtimes"] = runtimeList.String()
|
||||
|
||||
Reference in New Issue
Block a user