Allow repo mismatches to proceed (ref #223)

This commit is contained in:
Jakob Borg
2014-05-28 12:39:33 +02:00
parent b44016ff70
commit 5369a62fd5
3 changed files with 3 additions and 11 deletions

View File

@@ -81,17 +81,8 @@ func compareClusterConfig(local, remote protocol.ClusterConfigMessage) error {
}
}
}
} else {
return ClusterConfigMismatch(fmt.Errorf("remote is missing repository %q", repo))
}
}
for repo := range rm {
if _, ok := lm[repo]; !ok {
return ClusterConfigMismatch(fmt.Errorf("remote has extra repository %q", repo))
}
}
return nil
}