Skip to content

Commit

Permalink
Merge pull request #228 from Clever/paging-fix
Browse files Browse the repository at this point in the history
items is array not map
  • Loading branch information
ghirsch1 authored Oct 17, 2019
2 parents 1060481 + a526f47 commit e369c2f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Orchestrator for AWS Step Functions


### Version information
*Version* : 0.11.2
*Version* : 0.11.3


### URI scheme
Expand Down
2 changes: 1 addition & 1 deletion gen-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "workflow-manager",
"version": "0.11.2",
"version": "0.11.3",
"description": "Orchestrator for AWS Step Functions",
"main": "index.js",
"dependencies": {
Expand Down
4 changes: 1 addition & 3 deletions store/dynamodb/dynamodb_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,7 @@ func (d DynamoDB) GetWorkflowDefinitions(ctx context.Context) ([]models.Workflow
if err != nil {
return []models.WorkflowDefinition{}, err
}
for k, v := range results.Items {
items[k] = v
}
items = append(items, results.Items...)
lastEvaluatedKey = results.LastEvaluatedKey
}
return d.dynamoItemsToWorkflowDefinitions(items)
Expand Down
2 changes: 1 addition & 1 deletion swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
description: Orchestrator for AWS Step Functions
# when changing the version here, make sure to
# re-run `make generate` to generate clients and server
version: 0.11.2
version: 0.11.3
x-npm-package: workflow-manager
schemes:
- http
Expand Down

0 comments on commit e369c2f

Please sign in to comment.