Skip to content

Commit 0a1a207

Browse files
committed
usage: Fix regression build fail from fc3905f, missing closing parenthesis
We've to test our commits, build 'em before committing :) Signed-off-by: Rohit Yadav <bhaisaab@apache.org> (cherry picked from commit c47f685) Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent fc3905f commit 0a1a207

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

usage/src/com/cloud/usage/UsageManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ public void run() {
14301430
timeSinceJob = now - lastSuccess;
14311431
}
14321432

1433-
if ((timeSinceJob > 0) && (timeSinceJob > (aggregationDurationMillis - 100)) {
1433+
if ((timeSinceJob > 0) && (timeSinceJob > (aggregationDurationMillis - 100))) {
14341434
if (timeToJob > (aggregationDurationMillis/2)) {
14351435
if (s_logger.isDebugEnabled()) {
14361436
s_logger.debug("it's been " + timeSinceJob + " ms since last usage job and " + timeToJob + " ms until next job, scheduling an immediate job to catch up (aggregation duration is " + m_aggregationDuration + " minutes)");

0 commit comments

Comments
 (0)