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

Address code review, plus fix a compilation failure.

parent da0e9e19
No related branches found
No related tags found
No related merge requests found
......@@ -69,12 +69,11 @@ func mutationHandler(mu *gql.Mutation) error {
if len(ln) == 0 {
continue
}
nq, err := rdf.Parse(ln)
_, err := rdf.Parse(ln)
if err != nil {
glog.WithError(err).Error("While parsing RDF.")
return err
}
_ = nq
}
return nil
}
......
......@@ -83,7 +83,7 @@ func TestProcessTask(t *testing.T) {
addEdge(t, edge, posting.GetOrCreate(posting.Key(12, "friend"), ps))
query := NewQuery("friend", []uint64{10, 11, 12})
result, err := ProcessTask(query)
result, err := processTask(query)
if err != nil {
t.Error(err)
}
......
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