Skip to content

Commit

Permalink
Fix image build in batch mode (#818)
Browse files Browse the repository at this point in the history
* Fix image build in batch mode

* Add changelog
  • Loading branch information
romasku authored Apr 20, 2022
1 parent d5ad877 commit 98f17ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.D/818.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed error when trying to build image in batch mode
4 changes: 2 additions & 2 deletions neuro_flow/batch_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ async def user_share(self, user: str, permission: Permission) -> Permission:

class BatchExecutor:
transient_progress: bool = False
run_builder_job: Callable[..., Awaitable[str]] = start_image_build
run_builder_job: Callable[..., Awaitable[str]]

def __init__(
self,
Expand Down Expand Up @@ -500,7 +500,7 @@ def __init__(
self._project_role = project_role
self._is_projet_role_created = False

self._run_builder_job = self.run_builder_job
self._run_builder_job = start_image_build

# A note about default value:
# AS: I have no idea what timeout is better;
Expand Down

0 comments on commit 98f17ce

Please sign in to comment.