DATAES-6 flag name changed to purge-data-on-shutdown from data

This commit is contained in:
Mohsin Husen
2013-05-07 14:14:16 +01:00
parent 73fea2ba06
commit db5d9b8fc7
3 changed files with 3 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ public class NodeClientFactoryBean implements FactoryBean<NodeClient>, Initializ
@Override
public void afterPropertiesSet() throws Exception {
nodeClient = (NodeClient) nodeBuilder().local(this.local).data(this.purgeDataOnShutdown).node().client();
nodeClient = (NodeClient) nodeBuilder().local(this.local).data(!this.purgeDataOnShutdown).node().client();
}
public void setLocal(boolean local) {