Skip to content
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

Patch add sts #22

Merged
merged 13 commits into from
Mar 7, 2016
Merged

Patch add sts #22

merged 13 commits into from
Mar 7, 2016

Conversation

yami
Copy link
Contributor

@yami yami commented Mar 7, 2016

No description provided.

auth = oss2.StsAuth(self.token.access_key_id, self.token.access_key_secret, self.token.security_token)
self.bucket = oss2.Bucket(auth, OSS_ENDPOINT, OSS_BUCKET)

if OSS_STS_ARN and OSS_STS_ID and OSS_STS_KEY:
Copy link
Contributor

Choose a reason for hiding this comment

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

这个if去掉吧,否则很容易造成这些CASE没跑,但是我们不知道。

yami pushed a commit that referenced this pull request Mar 7, 2016
@yami yami merged commit 42ff1d5 into master Mar 7, 2016
@yami yami deleted the patch-add-sts branch March 7, 2016 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants