Skip to content

Commit

Permalink
Merge pull request #54 from 99designs/increase-max-results
Browse files Browse the repository at this point in the history
Increase DescribeParameters batch size from 10 to 50
  • Loading branch information
dfuentes authored Dec 6, 2017
2 parents df3773f + 50d4897 commit f9a51a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions store/ssmstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ func (s *SSMStore) List(service string, includeValues bool) ([]Secret, error) {
Values: []*string{aws.String("/" + service)},
},
},
MaxResults: aws.Int64(50),
NextToken: nextToken,
}
} else {
Expand All @@ -277,6 +278,7 @@ func (s *SSMStore) List(service string, includeValues bool) ([]Secret, error) {
Values: []*string{aws.String(service + ".")},
},
},
MaxResults: aws.Int64(50),
NextToken: nextToken,
}
}
Expand Down

0 comments on commit f9a51a4

Please sign in to comment.