Destutter gremlin.GremlinResult
This commit is contained in:
parent
15a45ef0d4
commit
bf3ac2be9e
4 changed files with 12 additions and 11 deletions
|
|
@ -267,7 +267,7 @@ func runIteratorOnSession(it graph.Iterator, ses *Session) {
|
|||
}
|
||||
tags := make(map[string]graph.Value)
|
||||
it.TagResults(tags)
|
||||
if !ses.SendResult(&GremlinResult{actualResults: &tags}) {
|
||||
if !ses.SendResult(&Result{actualResults: &tags}) {
|
||||
break
|
||||
}
|
||||
for it.NextResult() == true {
|
||||
|
|
@ -278,7 +278,7 @@ func runIteratorOnSession(it graph.Iterator, ses *Session) {
|
|||
}
|
||||
tags := make(map[string]graph.Value)
|
||||
it.TagResults(tags)
|
||||
if !ses.SendResult(&GremlinResult{actualResults: &tags}) {
|
||||
if !ses.SendResult(&Result{actualResults: &tags}) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue