From e39504060c593d2aa3f680d747a28abb4bb9be2f Mon Sep 17 00:00:00 2001 From: Herdy Handoko Date: Tue, 13 Sep 2016 10:49:01 +0800 Subject: [PATCH] Updated README with refactored API --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5512ed..338cea0 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ keyspaceConfig.getClusterConfig().setUsername(CASSANDRA_USERNAME); keyspaceConfig.getClusterConfig().setPassword(CASSANDRA_PASSWORD); CassandraMigration cm = new CassandraMigration(); -cm.getConfigs().setScriptsLocations(scriptsLocations); +cm.setLocations(scriptsLocations); cm.setKeyspaceConfig(keyspaceConfig); cm.migrate(); ```