Skip to content

Commit

Permalink
AWSServiceConfiguration not copying maxRetryCount
Browse files Browse the repository at this point in the history
In the copyWithZone function the the AWSServiceConfiguration only
copies the region type and credentials provider but not the retry
count. This causes the copy to always have a retry count of 0.
  • Loading branch information
Brian Sunter committed Aug 27, 2014
1 parent 321c4aa commit bb2219d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AWSCore/Service/AWSService.m
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ + (instancetype)configurationWithRegion:(AWSRegionType)regionType credentialsPro
- (id)copyWithZone:(NSZone *)zone {
AWSServiceConfiguration *configuration = [[[self class] allocWithZone:zone] initWithRegion:self.regionType
credentialsProvider:self.credentialsProvider];

configuration.maxRetryCount = self.maxRetryCount;
return configuration;
}

Expand Down

0 comments on commit bb2219d

Please sign in to comment.