Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 15a783c

Browse files
authored
fix reading instance_id on follow-on deploy (#253)
1 parent 08065f4 commit 15a783c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deployment/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def add_instance_id(self):
480480
blob_client = client.get_blob_client(container_name, blob_name)
481481
if blob_client.exists():
482482
logger.debug("instance_id already exists")
483-
instance_id = uuid.UUID(blob_client.download_blob().readall())
483+
instance_id = uuid.UUID(blob_client.download_blob().readall().decode())
484484
else:
485485
logger.debug("creating new instance_id")
486486
instance_id = uuid.uuid4()

0 commit comments

Comments
 (0)