Skip to content

Commit

Permalink
Try to fix retrieval of the configuration schemas from the actors.
Browse files Browse the repository at this point in the history
  • Loading branch information
abadger committed Sep 12, 2024
1 parent fd99333 commit e2e2f7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/upgrade/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ def upgrade(args, breadcrumbs):

# Read the Actor Config and validate it against the schemas saved in the
# configuration.
actor_config_schemas = repositories.get_config_schemas()
actor_config_schemas = tuple(actor.config_schemas for actor in repositories.actors)
actor_config_schemas = actor_config.normalize_schemas(actor_config_schemas)
actor_config_path = cfg.get('actor_config', 'path')
# Note: actor_config.load() stores the loaded actor config into a global
# variable which can then be accessed by functions in that file. Is this
Expand Down

0 comments on commit e2e2f7c

Please sign in to comment.