diff options
author | Avra Sengupta <asengupt@redhat.com> | 2012-11-23 14:26:10 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-11-28 16:24:41 -0800 |
commit | 5f88d4c1b036228ca4036e854d533f0b2fc3adc1 (patch) | |
tree | 4a54b289314c0c33c7a72371a21ade33498b3785 /api/examples/gfapi.py | |
parent | 15bf92d53c72774e2fd7aba146644a2e460e543f (diff) |
libgfapi: "tcp" is documented as the valid transport type instead of "socket".
Change-Id: I066e9be7755a535f385c102cdd1822adeda7f319
BUG: 860203
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/4226
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'api/examples/gfapi.py')
-rw-r--r-- | api/examples/gfapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/examples/gfapi.py b/api/examples/gfapi.py index e71a9866e65..8fc3bfa4c89 100644 --- a/api/examples/gfapi.py +++ b/api/examples/gfapi.py @@ -10,7 +10,7 @@ api = ctypes.CDLL("api/libgfapi.so",ctypes.RTLD_GLOBAL) fs = api.glfs_new(sys.argv[1]) api.glfs_set_logging(fs,"/dev/stderr",7) -api.glfs_set_volfile_server(fs,"socket","localhost",24007) +api.glfs_set_volfile_server(fs,"tcp","localhost",24007) api.glfs_init(fs) print "Initialized volume" |