Skip to content

Commit

Permalink
Fix Pages documentation
Browse files Browse the repository at this point in the history
Fix parameter input type in pages operations

Fixes aws#351

Signed-off-by: Marcos Lilljedahl <[email protected]>
  • Loading branch information
marcosnils authored and jasdel committed Aug 18, 2015
1 parent c051fed commit 83ab8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc-src/plugin/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def html_syntax_highlight(source, type = nil)
@note This operation can generate multiple requests to a service.
@example Iterating over at most 3 pages of a #{opname} operation
pageNum := 0
err := client.#{obj.name}(params, func(page *#{obj.parent.parent.name}.#{obj.parameters.first[0].split("*").last}, lastPage bool) bool {
err := client.#{obj.name}(params, func(page *#{obj.parent.parent.name}.#{obj.parameters[1][0].split("*").last}, lastPage bool) bool {
pageNum++
fmt.Println(page)
return pageNum <= 3
Expand Down

0 comments on commit 83ab8bd

Please sign in to comment.