Skip to content

Commit

Permalink
Update cli.
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed Jul 3, 2024
1 parent 3b0f543 commit eea3048
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions freva-data-portal-worker/src/data_portal_worker/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ def run_data_loader(argv: Optional[List[str]] = None) -> None:
args = parser.parse_args(argv)
if args.verbose is True:
data_logger.setLevel(logging.DEBUG)
data_logger.debug("Loading cluster config from %s", args.config_file)
cache_config: RedisKw = json.loads(b64decode(args.config_file.read_bytes()))
config_file = args.config_file.expanduser()
data_logger.debug("Loading cluster config from %s", config_file)
cache_config: RedisKw = json.loads(b64decode(config_file.read_bytes()))
env = os.environ.copy()
try:
os.environ["DASK_PORT"] = str(args.port)
Expand Down

0 comments on commit eea3048

Please sign in to comment.