Skip to content

Commit

Permalink
fix bl
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrede committed Oct 3, 2023
1 parent 955b490 commit e26051f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fedn/fedn/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
global STATESTORE_CONFIG
global MODELSTORAGE_CONFIG


def get_environment_config():
""" Get the configuration from environment variables.
"""
global STATESTORE_CONFIG
global MODELSTORAGE_CONFIG

STATESTORE_CONFIG = os.environ.get('STATESTORE_CONFIG',
'/workspaces/fedn/config/settings-reducer.yaml.template')
MODELSTORAGE_CONFIG = os.environ.get('MODELSTORAGE_CONFIG',
'/workspaces/fedn/config/settings-reducer.yaml.template')

STATESTORE_CONFIG = os.environ.get('STATESTORE_CONFIG',
'/workspaces/fedn/config/settings-reducer.yaml.template')
MODELSTORAGE_CONFIG = os.environ.get('MODELSTORAGE_CONFIG',
'/workspaces/fedn/config/settings-reducer.yaml.template')


def get_statestore_config(file=None):
Expand Down

0 comments on commit e26051f

Please sign in to comment.