Skip to content

Commit

Permalink
Remove rpc_port for versions beyond 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshjoshi committed Dec 20, 2018
1 parent 0d4a2dd commit d5076b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ccmlib/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ def set_install_dir(self, install_dir=None, version=None, verbose=False):

if self.get_cassandra_version() >= '4':
self.set_configuration_options(values={'start_rpc': None}, delete_empty=True, delete_always=True)
self.set_configuration_options(values={'rpc_port': None}, delete_empty=True, delete_always=True)


return self

Expand Down

0 comments on commit d5076b1

Please sign in to comment.