Skip to content

Commit

Permalink
we need to load from replica
Browse files Browse the repository at this point in the history
  • Loading branch information
ncode committed Apr 18, 2024
1 parent 778b908 commit 530ac48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/aclmanager/aclmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (a *AclManager) SyncAcls(ctx context.Context, primary *AclManager) (updated
if err != nil {
return nil, nil, fmt.Errorf("error saving acls to aclfile: %v", err)
}
err = loadAclFile(ctx, primary.RedisClient)
err = loadAclFile(ctx, a.RedisClient)
if err != nil {
return nil, nil, fmt.Errorf("error loading synced acls from aclfile: %v", err)
}
Expand Down

0 comments on commit 530ac48

Please sign in to comment.