mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1175: Fix NPE by making _store a static variable shared by objects
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 9b691fc443)
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
c693cfb37f
commit
b513448ec2
|
|
@ -56,7 +56,7 @@ public class ApiRateLimitServiceImpl extends AdapterBase implements APIChecker,
|
|||
*/
|
||||
private int maxAllowed = 30;
|
||||
|
||||
private LimitStore _store = null;
|
||||
private static LimitStore _store = null;
|
||||
|
||||
@Inject
|
||||
AccountService _accountService;
|
||||
|
|
|
|||
Loading…
Reference in New Issue