Skip to content

Commit 61bbc62

Browse files
committed
Remove .rstrip("/") from if-clause
1 parent 9911148 commit 61bbc62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binderhub/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _default_url(self):
4646
# which assumes https
4747
auth_config_url = "https://" + auth_config_url
4848

49-
if auth_config_url.rstrip("/") == DEFAULT_DOCKER_AUTH_URL:
49+
if auth_config_url == DEFAULT_DOCKER_AUTH_URL:
5050
# default docker config key is the v1 registry,
5151
# but we will talk to the v2 api
5252
return DEFAULT_DOCKER_REGISTRY_URL

0 commit comments

Comments
 (0)