From b88cda8e15cfa25f59ddfe2aac446a21eb73c285 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 20 May 2020 08:37:54 -0700 Subject: [PATCH] composer-cli: Bump the default API version to 1 This was lost when backporting the sources command from master (on master it is included as part of the upload command which is not available on F31). --- src/composer/cli/cmdline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composer/cli/cmdline.py b/src/composer/cli/cmdline.py index f827e824..5692ee4c 100644 --- a/src/composer/cli/cmdline.py +++ b/src/composer/cli/cmdline.py @@ -37,7 +37,7 @@ def composer_cli_parser(): help="Path to the socket file to listen on") parser.add_argument("--log", dest="logfile", default=None, metavar="LOG", help="Path to logfile (./composer-cli.log)") - parser.add_argument("-a", "--api", dest="api_version", default="0", metavar="APIVER", + parser.add_argument("-a", "--api", dest="api_version", default="1", metavar="APIVER", help="API Version to use") parser.add_argument("--test", dest="testmode", default=0, type=int, metavar="TESTMODE", help="Pass test mode to compose. 1=Mock compose with fail. 2=Mock compose with finished.")