From 7325797fd8d67bc7addfb313a4bace6d46415949 Mon Sep 17 00:00:00 2001 From: megan07 Date: Mon, 9 Dec 2019 15:56:37 +0000 Subject: [PATCH] change exponential_buckets growth_factor from integer to double Signed-off-by: Modular Magician --- plugins/modules/gcp_logging_metric.py | 6 +++--- plugins/modules/gcp_logging_metric_info.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/modules/gcp_logging_metric.py b/plugins/modules/gcp_logging_metric.py index e754b34..820eeb2 100644 --- a/plugins/modules/gcp_logging_metric.py +++ b/plugins/modules/gcp_logging_metric.py @@ -208,7 +208,7 @@ options: description: - Must be greater than 1. required: false - type: int + type: str scale: description: - Must be greater than 0. @@ -456,7 +456,7 @@ bucketOptions: description: - Must be greater than 1. returned: success - type: int + type: str scale: description: - Must be greater than 0. @@ -525,7 +525,7 @@ def main(): options=dict( linear_buckets=dict(type='dict', options=dict(num_finite_buckets=dict(type='int'), width=dict(type='int'), offset=dict(type='str'))), 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'))), ), diff --git a/plugins/modules/gcp_logging_metric_info.py b/plugins/modules/gcp_logging_metric_info.py index f5d1f6c..488b457 100644 --- a/plugins/modules/gcp_logging_metric_info.py +++ b/plugins/modules/gcp_logging_metric_info.py @@ -257,7 +257,7 @@ resources: description: - Must be greater than 1. returned: success - type: int + type: str scale: description: - Must be greater than 0.