mirror of
https://github.com/rancher/os.git
synced 2025-09-27 13:43:04 +00:00
make golang files to pass the latest go lints
- use constructors with named fields - fix logf statements
This commit is contained in:
committed by
Olli Janatuinen
parent
6fd46ddee4
commit
6cde287f87
@@ -113,8 +113,8 @@ func runCloudInitServices(cfg *config.CloudConfig) error {
|
||||
|
||||
_, err = config.ChainCfgFuncs(cfg,
|
||||
[]config.CfgFuncData{
|
||||
{"cloudinit loadImages", sysinit.LoadBootstrapImages},
|
||||
{"cloudinit Services", runCloudInitServiceSet},
|
||||
{Name: "cloudinit loadImages", Func: sysinit.LoadBootstrapImages},
|
||||
{Name: "cloudinit Services", Func: runCloudInitServiceSet},
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user