Skip to content

Commit

Permalink
migrate NUCYPHER_OPERATOR_ETH_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
vepkenez committed Apr 4, 2022
1 parent b68c3bd commit 6ff2064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nucypher_ops/ops/fleet_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,9 @@ def migrate_5_6(self):
for index, instance in enumerate(self.config['instances'].keys()):
if not self.config['instances'][instance].get('index'):
self.config['instances'][instance]['index'] = index
if instance.runtime_envvars.get('NUCYPHER_WORKER_ETH_PASSWORD'):
instance.runtime_envvars['NUCYPHER_OPERATOR_ETH_PASSWORD'] = instance.runtime_envvars.get('NUCYPHER_WORKER_ETH_PASSWORD')
del instance.runtime_envvars['NUCYPHER_WORKER_ETH_PASSWORD']

if self.config.get('keyringpassword'):
self.config['keystorepassword'] = self.config.get(
Expand Down

0 comments on commit 6ff2064

Please sign in to comment.