Skip to content

Commit

Permalink
fix default argument argparse
Browse files Browse the repository at this point in the history
  • Loading branch information
jshr-w committed Nov 14, 2024
1 parent ff0c6ec commit 175c6e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/python/clusterloader2/slo/slo.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def main():
parser_collect.add_argument("service_test", type=eval, choices=[True, False], default=False,
help="Whether service test is running. Must be either True or False")
parser_collect.add_argument("result_file", type=str, help="Path to the result file")
parser_collect.add_argument("test_type", type=str, default="default-config",
parser_collect.add_argument("test_type", type=str, nargs='?', default="default-config",
help="Description of test type")

args = parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion pipelines/perf-eval/slo-servicediscovery-ces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ stages:
service_test: True
cl2_config_file: load-config.yaml
max_parallel: 2
timeout_in_minutes: 360
timeout_in_minutes: 720
credential_type: service_connection
ssh_key_enabled: false

0 comments on commit 175c6e9

Please sign in to comment.