forked from TrueCloudLab/frostfs-node
[#411] Remove unnecessary pointers for sync objects
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
f934abed8f
commit
faca861451
20 changed files with 39 additions and 64 deletions
|
@ -327,7 +327,7 @@ type internals struct {
|
|||
|
||||
log *logger.Logger
|
||||
|
||||
wg *sync.WaitGroup
|
||||
wg sync.WaitGroup
|
||||
workers []worker
|
||||
closers []closer
|
||||
|
||||
|
@ -589,7 +589,6 @@ func initInternals(appCfg *config.Config, log *logger.Logger) internals {
|
|||
appCfg: appCfg,
|
||||
internalErr: make(chan error),
|
||||
log: log,
|
||||
wg: new(sync.WaitGroup),
|
||||
apiVersion: version.Current(),
|
||||
healthStatus: &healthStatus,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue