Commit a4651d7c authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

burnin: Get 'ignore_ssl' option from kamaki config

If '-k' flag is not given, try to retrieve it from kamaki's config file.
parent 33dec461
......@@ -139,7 +139,7 @@ def main(): # pylint: disable=too-many-statements, too-many-branches
default=True, action="store_false",
help="Don't use colorful output messages.")
parser.add_option("--ignore-ssl", "-k", dest="ignore_ssl",
default=False, action="store_true",
default=None, action="store_true",
help="Don't verify SSL certificates.")
(options, args) = parser.parse_args()
......
......@@ -91,7 +91,7 @@ def parse_arguments(args):
help="The token to use for authentication to the API")
parser.add_option(
"--ignore-ssl", "-k", action="store_true",
default=False, dest="ignore_ssl",
default=None, dest="ignore_ssl",
help="Don't verify SSL certificates")
parser.add_option(
"--failfast", action="store_true",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment