Skip to content
Snippets Groups Projects
Commit 6d5b0b01 authored by Manish R Jain's avatar Manish R Jain
Browse files

Fix compilation failure

parent 2a9b517b
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ func (w *Worker) Mutate(query *conn.Query, reply *conn.Reply) (rerr error) {
// For now, assume it's all only Set instructions.
for _, edge := range m.Set {
if farm.Fingerprint64(
[]byte(edge.Attribute))%uint64(len(addrs)) != instanceIdx {
[]byte(edge.Attribute))%numInstances != instanceIdx {
glog.WithField("instanceIdx", instanceIdx).
WithField("attr", edge.Attribute).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment