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 () {
67636763 AutoSwitchHost : false ,
67646764 Timeout : 10000 ,
67656765 } ) ;
6766- const config = {
6766+ const retryConfig = {
67676767 Bucket : 'cos-sdk-err-retry-1253960454' ,
67686768 Region : 'ap-chengdu' ,
67696769 } ;
67706770 function getObject ( Key , done , expectErr ) {
67716771 cos . getObject (
67726772 {
6773- Bucket : config . Bucket ,
6774- Region : config . Region ,
6773+ Bucket : retryConfig . Bucket ,
6774+ Region : retryConfig . Region ,
67756775 Key,
67766776 } ,
67776777 function ( err , data ) {
@@ -6865,15 +6865,15 @@ group('retry tencentcos.cn', function () {
68656865 Timeout : 10000 ,
68666866 Domain : '{Bucket}.cos.{Region}.tencentcos.cn' ,
68676867 } ) ;
6868- const config = {
6868+ const retryConfig = {
68696869 Bucket : 'cos-sdk-err-retry-1253960454' ,
68706870 Region : 'ap-chengdu' ,
68716871 } ;
68726872 function getObject ( Key , done , expectErr ) {
68736873 cos . getObject (
68746874 {
6875- Bucket : config . Bucket ,
6876- Region : config . Region ,
6875+ Bucket : retryConfig . Bucket ,
6876+ Region : retryConfig . Region ,
68776877 Key,
68786878 } ,
68796879 function ( err , data ) {
You can’t perform that action at this time.
0 commit comments