Skip to content

Commit

Permalink
Remove duplicate properties, fix curvenote token config
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Oct 8, 2023
1 parent 2a21135 commit b84322c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions config/curvenote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ binderhub:
except httpclient.HTTPError as e:
if e.code == 404:
return None
else:
raise
raise
async def get_image_manifest(self, image, tag):
"""
Expand Down Expand Up @@ -138,8 +137,9 @@ binderhub:
try:
token_json = await self._request(token_url, method="POST", body="")
except httpclient.HTTPError as e:
if e.code != 404:
raise
if e.code == 404:
return None
raise
self.log.debug(f"Token: {*token_json.keys(),}")
token = dict(
(k, v)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ spec:
app: aws-ecr-registry-cleaner
component: aws-ecr-registry-cleaner
release: {{ .Release.Name }}
replicas: 1
template:
metadata:
labels:
Expand Down

0 comments on commit b84322c

Please sign in to comment.