Skip to content

Commit

Permalink
Inlude type in resource hash
Browse files Browse the repository at this point in the history
  • Loading branch information
painebot committed Feb 21, 2025
1 parent 4314e8e commit 4df76fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyterfs/metamanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def initResource(self, *resources, options={}):
resource["kwargs"] = {}

# get deterministic hash of PyFilesystem url
_hash = md5(resource["url"].encode("utf-8")).hexdigest()[:8]
_hash = md5(resource["url"].encode("utf-8") + resource["type"]).hexdigest()[:8]
init = False
missingTokens = None
errors = []
Expand Down

0 comments on commit 4df76fa

Please sign in to comment.