Skip to content

Commit

Permalink
Merge pull request #176 from PrefectHQ/fix-tests
Browse files Browse the repository at this point in the history
Fix tests in response to some Core changes
  • Loading branch information
cicdw authored Jan 19, 2021
2 parents 3f804d2 + 0eaf350 commit ba12bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect_server/services/agents/local_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async def run_scheduled(self, flow_id=None):
def run_flow(self, flow_name, storage, environment, config, context):
with prefect.utilities.configuration.set_temporary_config(config):
with prefect.context(context):
environment.execute(storage.get_flow(storage.flows[flow_name]))
environment.execute(storage.get_flow(flow_name))

async def start(self):
self.logger.info(f"Starting {type(self).__name__}...")
Expand Down

0 comments on commit ba12bb8

Please sign in to comment.