Skip to content

Commit 9b691fc

Browse files
committed
CLOUDSTACK-1175: Fix NPE by making _store a static variable shared by objects
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent a9955f1 commit 9b691fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class ApiRateLimitServiceImpl extends AdapterBase implements APIChecker,
5656
*/
5757
private int maxAllowed = 30;
5858

59-
private LimitStore _store = null;
59+
private static LimitStore _store = null;
6060

6161
@Inject
6262
AccountService _accountService;

0 commit comments

Comments
 (0)