Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Implement GSP-93, GSP-109 and GSP-117 #35

Merged
merged 5 commits into from
Jun 29, 2021
Merged

Implement GSP-93, GSP-109 and GSP-117 #35

merged 5 commits into from
Jun 29, 2021

Conversation

JinnyYi
Copy link
Contributor

@JinnyYi JinnyYi commented Jun 25, 2021

No description provided.

@JinnyYi JinnyYi requested a review from Xuanwo June 29, 2021 06:59
return
}

rp += "/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we need a comment to describe why we need to add a / here?

storage.go Outdated

object := s.bucket.Object(rp)
w := object.NewWriter(ctx)
defer func() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need defer here? How about close them after we have set all the needed metadata?

@Xuanwo Xuanwo merged commit 9696c94 into master Jun 29, 2021
@Xuanwo Xuanwo deleted the bump-go-storage branch June 29, 2021 07:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants