Fix lint error on sprintf call for runtime string

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff 2020-07-09 12:54:13 -07:00
parent 3b4cfa9723
commit 6fd94aa933
1 changed files with 1 additions and 1 deletions

View File

@ -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()