Skip to content

Commit

Permalink
gdrive: don't forget bucket when generating a url
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Dec 2, 2021
1 parent 302f5b0 commit d4178c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/fs/gdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _strip_protocol(cls, path):

@staticmethod
def unstrip_protocol(path):
return f"gdrive://{path}"
return f"gdrive://{self._bucket}/{path}"

@staticmethod
def _get_kwargs_from_urls(urlpath):
Expand Down

0 comments on commit d4178c0

Please sign in to comment.