summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/models/FederationModel.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-01-09 21:07:01 -0500
committerJames Moger <james.moger@gitblit.com>2012-01-09 21:07:01 -0500
commitd25c599b9967549fe0ebc7a56ca785c317ba3d4b (patch)
tree4bb9a4462f538ce44babc5d427da626cf6cbaded /src/com/gitblit/models/FederationModel.java
parent11924dc5db4bc44cb32e905700a8557124b1fd56 (diff)
downloadgitblit-d25c599b9967549fe0ebc7a56ca785c317ba3d4b.tar.gz
gitblit-d25c599b9967549fe0ebc7a56ca785c317ba3d4b.zip
Documentation. Find bugs. Organized imports.
Diffstat (limited to 'src/com/gitblit/models/FederationModel.java')
-rw-r--r--src/com/gitblit/models/FederationModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/gitblit/models/FederationModel.java b/src/com/gitblit/models/FederationModel.java
index 61c8576b..1d211ce9 100644
--- a/src/com/gitblit/models/FederationModel.java
+++ b/src/com/gitblit/models/FederationModel.java
@@ -114,7 +114,7 @@ public class FederationModel implements Serializable, Comparable<FederationModel
* @param status
*/
public void updateStatus(RepositoryModel repository, FederationPullStatus status) {
- if (!results.containsKey(repository)) {
+ if (!results.containsKey(repository.name)) {
results.put(repository.name, FederationPullStatus.PENDING);
}
if (status != null) {