You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2014/10/06 19:32:29 UTC
git commit: bad variable
Repository: incubator-usergrid
Updated Branches:
refs/heads/sqs_queues bd4d18b40 -> 8914204ec
bad variable
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/8914204e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/8914204e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/8914204e
Branch: refs/heads/sqs_queues
Commit: 8914204ec94f1f26769d733c35f92c444203ca04
Parents: bd4d18b
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Oct 6 11:32:13 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Oct 6 11:32:13 2014 -0600
----------------------------------------------------------------------
.../org/apache/usergrid/services/notifications/TaskManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/8914204e/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java b/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
index dc0fb05..6b5441e 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
@@ -161,7 +161,7 @@ public class TaskManager {
Map<String, Long> stats = new HashMap<>(2);
stats.put("sent", successes);
stats.put("errors", failures);
- notification.updateStatistics(successes, successes);
+ notification.updateStatistics(successes, failures);
//none of this is known and should you ever do this
if (notification.getExpectedCount() <= (notification.getStatistics().get("sent") + notification.getStatistics().get("errors"))) {