From 8879931f0cd727244587b6e58a7279d9125c96a2 Mon Sep 17 00:00:00 2001 From: chrisweaver Date: Thu, 21 Jul 2016 15:02:49 -0400 Subject: [PATCH] Enforce boolean type for dup_ok Stop "choices" from being interpreted as strings. --- cloud/amazon/iam_cert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/iam_cert.py b/cloud/amazon/iam_cert.py index d8934864e5e..8e56017052e 100644 --- a/cloud/amazon/iam_cert.py +++ b/cloud/amazon/iam_cert.py @@ -232,7 +232,7 @@ def main(): new_name=dict(default=None, required=False), path=dict(default='/', required=False), new_path=dict(default=None, required=False), - dup_ok=dict(default=False, required=False, choices=[False, True]) + dup_ok=dict(default=False, required=False, choices=[False, True], type='bool') ) )