Bug fixes for GCP modules (#65681)

This commit is contained in:
The Magician 2020-01-03 12:35:49 -08:00 committed by ansibot
parent de01872e7c
commit 528163ded2
2 changed files with 4 additions and 4 deletions

View file

@ -208,7 +208,7 @@ options:
description: description:
- Must be greater than 1. - Must be greater than 1.
required: false required: false
type: int type: str
scale: scale:
description: description:
- Must be greater than 0. - Must be greater than 0.
@ -456,7 +456,7 @@ bucketOptions:
description: description:
- Must be greater than 1. - Must be greater than 1.
returned: success returned: success
type: int type: str
scale: scale:
description: description:
- Must be greater than 0. - Must be greater than 0.
@ -518,7 +518,7 @@ def main():
options=dict( options=dict(
linear_buckets=dict(type='dict', options=dict(num_finite_buckets=dict(type='int'), width=dict(type='int'), offset=dict(type='str'))), linear_buckets=dict(type='dict', options=dict(num_finite_buckets=dict(type='int'), width=dict(type='int'), offset=dict(type='str'))),
exponential_buckets=dict( exponential_buckets=dict(
type='dict', options=dict(num_finite_buckets=dict(type='int'), growth_factor=dict(type='int'), scale=dict(type='str')) type='dict', options=dict(num_finite_buckets=dict(type='int'), growth_factor=dict(type='str'), scale=dict(type='str'))
), ),
explicit_buckets=dict(type='dict', options=dict(bounds=dict(required=True, type='list', elements='str'))), explicit_buckets=dict(type='dict', options=dict(bounds=dict(required=True, type='list', elements='str'))),
), ),

View file

@ -257,7 +257,7 @@ resources:
description: description:
- Must be greater than 1. - Must be greater than 1.
returned: success returned: success
type: int type: str
scale: scale:
description: description:
- Must be greater than 0. - Must be greater than 0.