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
|
@ -42,7 +42,7 @@ type (
|
|||
}
|
||||
|
||||
subscriber struct {
|
||||
*sync.RWMutex
|
||||
sync.RWMutex
|
||||
log *logger.Logger
|
||||
client *client.Client
|
||||
|
||||
|
@ -163,7 +163,6 @@ func New(ctx context.Context, p *Params) (Subscriber, error) {
|
|||
}
|
||||
|
||||
sub := &subscriber{
|
||||
RWMutex: new(sync.RWMutex),
|
||||
log: p.Log,
|
||||
client: p.Client,
|
||||
notifyChan: make(chan *state.ContainedNotificationEvent),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue