Skip to content

Commit

Permalink
implemented updated AstyanaxContext methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tombreitkopf committed Nov 21, 2015
1 parent 0a5b3fa commit 305e534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public Keyspace getZuulCassKeyspace() throws Exception {
.buildKeyspace(ThriftFamilyFactory.getInstance());

context.start();
zuulCassKeyspace = context.getEntity();
zuulCassKeyspace = context.getClient();
return zuulCassKeyspace;
} catch (Exception e) {
LOG.error("Exception occurred when initializing Cassandra keyspace: " + e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ private static class CassandraGatewayProd implements CassandraGateway {


public CassandraGatewayProd(AstyanaxContext<Keyspace> context) {
keyspace = context.getEntity();
keyspace = context.getClient();
}

public CassandraGatewayProd(Keyspace keyspace) {
Expand Down

0 comments on commit 305e534

Please sign in to comment.