Skip to content

Commit

Permalink
Fix docs issues in aws_s3_bucket_info and ec2_vpc_vpn (ansible-collec…
Browse files Browse the repository at this point in the history
…tions#47)

* Make sure that example string is parsed as string and not as datetime.

* Make sure that expression is treated as string.

This is probably not the correct value either, but at least it doesn't cause ansible-doc --json to crash.
  • Loading branch information
felixfontein authored Apr 24, 2020
1 parent 4566c3d commit aab33f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws_s3_bucket_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
description: "List of buckets"
returned: always
sample:
- creation_date: 2017-07-06 15:05:12 +00:00
- creation_date: '2017-07-06 15:05:12 +00:00'
name: my_bucket
type: list
'''
Expand Down
2 changes: 1 addition & 1 deletion ec2_vpc_vpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
vgw_telemetry: [{
'outside_ip_address': 'string',
'status': 'up',
'last_status_change': datetime(2015, 1, 1),
'last_status_change': 'datetime(2015, 1, 1)',
'status_message': 'string',
'accepted_route_count': 123
}]
Expand Down

0 comments on commit aab33f8

Please sign in to comment.