diff --git a/README.rst b/README.rst index ff247c8..da54a4b 100644 --- a/README.rst +++ b/README.rst @@ -99,6 +99,7 @@ Table of Contents * `Scaling Down Runners <https://github.com/testflows/TestFlows-GitHub-Hetzner-Runners/wiki/Scaling-Down-Runners>`_ * `Handling Failing Conditions <https://github.com/testflows/TestFlows-GitHub-Hetzner-Runners/wiki/Handling-Failing-Conditions>`_ * `Meta Labels <https://github.com/testflows/TestFlows-GitHub-Hetzner-Runners/wiki/Meta-Labels>`_ +* `Estimating Costs <https://github.com/testflows/TestFlows-GitHub-Hetzner-Runners/wiki/Estimating-Costs>`_ * `Program Options <https://github.com/testflows/TestFlows-GitHub-Hetzner-Runners/wiki/Program-Options>`_ =========== diff --git a/testflows/github/hetzner/runners/scale_up.py b/testflows/github/hetzner/runners/scale_up.py index b668973..966c2dd 100644 --- a/testflows/github/hetzner/runners/scale_up.py +++ b/testflows/github/hetzner/runners/scale_up.py @@ -96,7 +96,7 @@ def get_runner_server_type_and_location(runner_name: str): server_type, server_location = None, None if runner_name.startswith(runner_name_prefix): - if len(runner_name.split("-")) == 8: + if len(runner_name.split("-")) == 7: server_type, server_location = runner_name.split("-")[5:] return server_type, server_location