Skip to content

Commit

Permalink
secret config with no "."
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Jul 4, 2024
1 parent 746bf2d commit 7c3d07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/registry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
def config():
from anemoi.utils.config import load_config

config = load_config(secrets=["registry.token"]).get("registry")
config = load_config(secrets=["api_token"]).get("registry")
if not config:
raise ValueError("Section 'registry' is missing in config.")
return config

0 comments on commit 7c3d07a

Please sign in to comment.