mirror of
https://github.com/nabbar/golib.git
synced 2026-04-22 23:17:12 +08:00
Component Config:
- FIX status component, in init function, missing to register version in status instance
This commit is contained in:
@@ -80,6 +80,8 @@ func (o *mod) Init(key string, ctx context.Context, get cfgtps.FuncCptGet, vpr l
|
||||
}
|
||||
return nil
|
||||
})
|
||||
|
||||
o.s.SetVersion(vrs)
|
||||
}
|
||||
|
||||
// RegisterFuncStart registers the 'Before' and 'After' callbacks for the Start event.
|
||||
|
||||
Reference in New Issue
Block a user