[GCE] gc_storage: add type parameter to expiration in argument_spec. (#19979)

Fixes ansible/ansible#19568
This commit is contained in:
Tom Melendez 2017-01-06 10:27:47 -08:00 committed by Ryan Brown
parent 5afad65895
commit 89f232ad8a

View file

@ -379,7 +379,7 @@ def main():
object = dict(default=None),
src = dict(default=None),
dest = dict(default=None),
expiration = dict(default=600, aliases=['expiry']),
expiration = dict(type='int', default=600, aliases=['expiry']),
mode = dict(choices=['get', 'put', 'delete', 'create', 'get_url', 'get_str'], required=True),
permission = dict(choices=['private', 'public-read', 'authenticated-read'], default='private'),
headers = dict(type='dict', default={}),