Skip to content

Commit

Permalink
fix(dev): Fixed change_cassandra for disabling cassandra. (#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wiseblatt committed Mar 21, 2017
1 parent 30054b6 commit c105ccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylib/spinnaker/change_cassandra.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def enable_cassandra(self):

def change(self):
paths = []
if self.__options.change_defaults:
if str(self.__options.change_defaults).lower() == "true":
path = '/opt/spinnaker/config/spinnaker.yml'
with open(path, 'r'):
paths.append(path)
Expand All @@ -180,7 +180,7 @@ def change(self):
except IOError:
pass

if self.__options.change_local:
if str(self.__options.change_local).lower() == "true":
path = '/opt/spinnaker/config/spinnaker-local.yml'
try:
with open(path, 'r'):
Expand Down

0 comments on commit c105ccc

Please sign in to comment.