Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-20 committed Jun 20, 2022
1 parent d4e2e6d commit 299fc0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docker/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ async def start_container(num_experiments: int, config: Request, authorized: boo
return JSONResponse(status_code=404, content=vars(all_container_infos[index]))
return_dict[index] = vars(all_container_infos[index])
print(f'successfully started {num_experiments} container')
translated_return_dict = ContainerDBManager().translate_n_container(return_dict)
return JSONResponse(translated_return_dict, status_code=200)
return JSONResponse(return_dict, status_code=200)


@app.get('/health/')
Expand Down
1 change: 1 addition & 0 deletions docker/container_db_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def insert_n_container(self, num_container_to_be_inserted: int) -> list:
return result

def update_container_id(self, given_id: str, container_id: str) -> None:
print('++', self._select_value(given_id))
print('bevor update: given', given_id, 'c_id', container_id)
self._update_value('container_id', container_id, given_id)
print('++', self._select_value(given_id))
Expand Down

0 comments on commit 299fc0d

Please sign in to comment.