Skip to content

Commit

Permalink
lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Sep 1, 2017
1 parent 30ce5c9 commit 8543650
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ function putBucketLifecycle() {
'Status': 'Enabled',
'Transition': {
'Date': '2016-10-31T00:00:00+08:00',
'StorageClass': 'Standard_IA'
'StorageClass': 'STANDARD_IA'
}
}]
}
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ var getAuthorization = function (options, callback) {

// 方法二(适用于前端调试)
var authorization = COS.getAuthorization({
SecretId: 'AKIDCIYwwlYPlLQ92cxDDh4uUGjoqWQ6lKfg',
SecretKey: 'kfjo40IGLMGUal6OJmphImD5omqZRDY2',
SecretId: 'AKIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
SecretKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
method: (options.method || 'get').toLowerCase(),
pathname: options.pathname || '/',
});
Expand Down

0 comments on commit 8543650

Please sign in to comment.