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

ReadMe.md文档里,示例代码命名打错了吧 #538

Open
Saiwen-cyber opened this issue Jan 23, 2022 · 2 comments
Open

ReadMe.md文档里,示例代码命名打错了吧 #538

Saiwen-cyber opened this issue Jan 23, 2022 · 2 comments

Comments

@Saiwen-cyber
Copy link

...
// 分片上传 v1
Configuration cfg = new Configuration();
UploadManager uploadManager = new UploadManager(cfg);
Auth auth = Auth.create(accessKey, secretKey);
String token = auth.uploadToken(bucketName);
Response r = upManager.put("hello world".getBytes(), "yourkey", token);

...
最后一句 应该是 uploadManager.put("hello world".getBytes(), "yourkey", token);
upManager 改为 uploadManager

@koreQAQ
Copy link

koreQAQ commented Jan 29, 2022

确实是打错了

@YangSen-qn
Copy link
Contributor

感谢您的反馈

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

No branches or pull requests

3 participants