mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
fixup! Add a dangerzone-image
CLI script
This commit is contained in:
parent
379c9f8f00
commit
d667c284c7
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def _get_auth_header(image: Image) -> Dict[str, str]:
|
||||||
return {"Authorization": f"Bearer {token}"}
|
return {"Authorization": f"Bearer {token}"}
|
||||||
|
|
||||||
|
|
||||||
def _url(image):
|
def _url(image: Image) -> str:
|
||||||
return f"https://{image.registry}/v2/{image.namespace}/{image.image_name}"
|
return f"https://{image.registry}/v2/{image.namespace}/{image.image_name}"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue