-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage initializer: keep dir name in s3 download #221
Conversation
a9d6645
to
1f4cca7
Compare
1f4cca7
to
1c5c537
Compare
5cf3de1
to
9300d59
Compare
9300d59
to
4675eaa
Compare
/hold |
need to update README, https://github.com/kubeedge/sedna/tree/main/scripts/storage-initializer#usage |
bucket_args = uri.replace(_S3_PREFIX, "", 1).split("/", 1) | ||
# download all(files, folders) in s3 | ||
# when downloading the specified file, keep the name of the file itself. | ||
# when downloading the specified folder, keep the name of the folder itself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use docstring for commenting function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, fix it
4675eaa
to
337dcd4
Compare
has been updated it |
/unhold |
ccb066a
to
ff3930d
Compare
ff3930d
to
fd7caec
Compare
when downloading the specified folder, keep the name of the folder itself. Signed-off-by: JimmyYang20 <[email protected]>
fd7caec
to
17cbfc1
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: llhuii The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
support download folders
Signed-off-by: JimmyYang20 [email protected]