Spelling
This commit is contained in:
parent
ce851a5929
commit
819de02101
18 changed files with 51 additions and 51 deletions
|
@ -454,7 +454,7 @@ func (p *Provider) lookupTaskDefinitions(ctx context.Context, client *awsClient,
|
|||
// chunkIDs ECS expects no more than 100 parameters be passed to a API call;
|
||||
// thus, pack each string into an array capped at 100 elements.
|
||||
func (p *Provider) chunkIDs(ids []*string) [][]*string {
|
||||
var chuncked [][]*string
|
||||
var chunked [][]*string
|
||||
for i := 0; i < len(ids); i += 100 {
|
||||
var sliceEnd int
|
||||
if i+100 < len(ids) {
|
||||
|
@ -462,7 +462,7 @@ func (p *Provider) chunkIDs(ids []*string) [][]*string {
|
|||
} else {
|
||||
sliceEnd = len(ids)
|
||||
}
|
||||
chuncked = append(chuncked, ids[i:sliceEnd])
|
||||
chunked = append(chunked, ids[i:sliceEnd])
|
||||
}
|
||||
return chuncked
|
||||
return chunked
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue