Skip to content

Commit

Permalink
renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Dawson committed Sep 12, 2023
1 parent cae96d1 commit 7550e7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cylc/uiserver/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ async def mutator(
async def get_service(self, command, kwargs, workflows):
method = getattr(Services, command)
if command == 'clean':
returnVal = partial(
mutation_response = partial(
method,
workflows,
kwargs,
Expand All @@ -549,20 +549,20 @@ async def get_service(self, command, kwargs, workflows):
executor=self.executor
)
elif command == 'play':
returnVal = partial(
mutation_response = partial(
method,
workflows,
kwargs,
self.workflows_mgr,
log=self.log
)
elif command == 'scan':
returnVal = partial(
mutation_response = partial(
method,
kwargs,
self.workflows_mgr
)
return await returnVal()
return await mutation_response()

async def service(
self,
Expand Down

0 comments on commit 7550e7e

Please sign in to comment.