You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/04/29 18:27:51 UTC

[3/4] incubator-tinkerpop git commit: Fixed bug in gremlin server load script - calling bad method.

Fixed bug in gremlin server load script - calling bad method.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/8646e9ee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/8646e9ee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/8646e9ee

Branch: refs/heads/master
Commit: 8646e9eece4c2a99631218a3ad5f5a2c50315fa3
Parents: 84f736f
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Apr 29 12:25:52 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Wed Apr 29 12:25:52 2015 -0400

----------------------------------------------------------------------
 gremlin-server/scripts/load-sample.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/8646e9ee/gremlin-server/scripts/load-sample.groovy
----------------------------------------------------------------------
diff --git a/gremlin-server/scripts/load-sample.groovy b/gremlin-server/scripts/load-sample.groovy
index 59b8c53..84c30fe 100644
--- a/gremlin-server/scripts/load-sample.groovy
+++ b/gremlin-server/scripts/load-sample.groovy
@@ -20,7 +20,7 @@
 // An example of an initialization script that can be configured to run in Gremlin Server.
 // Functions defined here will go into global cache and will not be removed from there
 // unless there is a reset of the ScriptEngine.
-graph.io(GryoIo.build()).read('data/sample.kryo')
+graph.io(GryoIo.build()).readGraph('data/sample.kryo')
 
 // define the default TraversalSource to bind queries to.
 g = graph.traversal()