Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed bug with rpc query in keyspace info page

  • Loading branch information...
commit 737e986b808afbdb0dd365e01675d9b19164c7d5 1 parent 3db192d
tomek authored
View
4 src/main/frontend/source/class/helenos/components/tab/KeyspaceInfoPage.js
@@ -29,8 +29,8 @@ qx.Class.define("helenos.components.tab.KeyspaceInfoPage",
layout: new qx.ui.layout.VBox(3, 'top')
});
- var rpc = new helenos.util.Rpc('Cluster');
- var ksDef = rpc.callSync('describeKeyspace', ksName);
+
+ var ksDef = helenos.util.RpcActionsProvider.describeKeyspace(ksName);
this.__addNameAtom(ksDef);
this.__addBasicInfoGroup(ksDef);
View
5 src/main/frontend/source/class/helenos/util/RpcActionsProvider.js
@@ -23,6 +23,11 @@ qx.Class.define('helenos.util.RpcActionsProvider', {
return rpc.callSync('describeClusterName');
},
+ describeKeyspace : function(keyspaceName) {
+ var rpc = new helenos.util.Rpc(this._SCHEMA);
+ return rpc.callSync('describeKeyspace', keyspaceName);
+ },
+
describeKeyspaces : function() {
var rpc = new helenos.util.Rpc(this._SCHEMA);
return rpc.callSync('describeKeyspaces');
Please sign in to comment.
Something went wrong with that request. Please try again.