Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shapovalovts committed Aug 24, 2024
1 parent 9ecb934 commit b8ee793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routers/openstack/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ async def get_image_info(id: str, username: str = EMPTY_HEADER, password: str =

@ROUTER.get("/openstack/images")
async def list_images(username: str = EMPTY_HEADER, password: str = EMPTY_HEADER):
images_list: typing.List[ImageInfo] = []
image_list: typing.List[ImageInfo] = []
try:
CONNECTOR.reinitialize(username, password, "compute")
for image in CONNECTOR.list_images():
images_list.append(convert_to_image(image))
image_list.append(convert_to_image(image))
except Exception as e:
LOG.error(traceback.format_exception(e))
raise HTTPException(
Expand Down

0 comments on commit b8ee793

Please # to comment.