fix go vet errors
Signed-off-by: Jess Frazelle <jessfraz@google.com> fix composites Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:

committed by
Jess Frazelle

parent
eef8bfec23
commit
7e9d82129e
@@ -114,14 +114,12 @@ func NewMasterComponents(c *Config) *MasterComponents {
|
||||
if c.StartReplicationManager {
|
||||
go controllerManager.Run(goruntime.NumCPU(), rcStopCh)
|
||||
}
|
||||
var once sync.Once
|
||||
return &MasterComponents{
|
||||
ApiServer: s,
|
||||
KubeMaster: m,
|
||||
RestClient: restClient,
|
||||
ControllerManager: controllerManager,
|
||||
rcStopCh: rcStopCh,
|
||||
once: once,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user