File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6763,15 +6763,15 @@ group('retry myqcloud.com', function () {
6763
6763
AutoSwitchHost : false ,
6764
6764
Timeout : 10000 ,
6765
6765
} ) ;
6766
- const config = {
6766
+ const retryConfig = {
6767
6767
Bucket : 'cos-sdk-err-retry-1253960454' ,
6768
6768
Region : 'ap-chengdu' ,
6769
6769
} ;
6770
6770
function getObject ( Key , done , expectErr ) {
6771
6771
cos . getObject (
6772
6772
{
6773
- Bucket : config . Bucket ,
6774
- Region : config . Region ,
6773
+ Bucket : retryConfig . Bucket ,
6774
+ Region : retryConfig . Region ,
6775
6775
Key,
6776
6776
} ,
6777
6777
function ( err , data ) {
@@ -6865,15 +6865,15 @@ group('retry tencentcos.cn', function () {
6865
6865
Timeout : 10000 ,
6866
6866
Domain : '{Bucket}.cos.{Region}.tencentcos.cn' ,
6867
6867
} ) ;
6868
- const config = {
6868
+ const retryConfig = {
6869
6869
Bucket : 'cos-sdk-err-retry-1253960454' ,
6870
6870
Region : 'ap-chengdu' ,
6871
6871
} ;
6872
6872
function getObject ( Key , done , expectErr ) {
6873
6873
cos . getObject (
6874
6874
{
6875
- Bucket : config . Bucket ,
6876
- Region : config . Region ,
6875
+ Bucket : retryConfig . Bucket ,
6876
+ Region : retryConfig . Region ,
6877
6877
Key,
6878
6878
} ,
6879
6879
function ( err , data ) {
You can’t perform that action at this time.
0 commit comments