Skip to content

Commit 9dd5e3f

Browse files
YangSen-qnYangSen-qn
andauthored
remove region: ap-northeast-1 (#432)
Co-authored-by: YangSen-qn <[email protected]>
1 parent 29a000d commit 9dd5e3f

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

QiniuSDK/Common/QNFixedZone.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ NS_ASSUME_NONNULL_BEGIN
4040
*/
4141
+ (instancetype)zone2;
4242

43-
/**
44-
* zoneNorthEast1 亚太-首尔
45-
*
46-
* @return 实例
47-
*/
48-
+ (instancetype)zoneApNorthEast1;
49-
5043
/**
5144
* zone Na0 北美
5245
*

QiniuSDK/Common/QNFixedZone.m

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,6 @@ + (instancetype)zone2 {
6161
return z2;
6262
}
6363

64-
+ (instancetype)zoneApNorthEast1 {
65-
static QNFixedZone *zoneNorthEast1 = nil;
66-
static dispatch_once_t onceToken;
67-
dispatch_once(&onceToken, ^{
68-
zoneNorthEast1 = [[QNFixedZone alloc] initWithUpDomainList:@[@"upload-ap-northeast-1.qiniup.com", @"up-ap-northeast-1.qiniup.com"]
69-
oldUpList:nil
70-
regionId:@"ap-northeast-1"];
71-
});
72-
return zoneNorthEast1;
73-
}
74-
7564
+ (instancetype)zoneNa0 {
7665
static QNFixedZone *zNa0 = nil;
7766
static dispatch_once_t onceToken;
@@ -101,7 +90,6 @@ + (QNFixedZone *)localsZoneInfo{
10190
[QNFixedZone zone2],
10291
[QNFixedZone zoneCnEast2],
10392
[QNFixedZone zoneNa0],
104-
[QNFixedZone zoneApNorthEast1],
10593
[QNFixedZone zoneAs0]];
10694
QNFixedZone *zone = [self combineZones:zones];
10795
if (zone) {

0 commit comments

Comments
 (0)