Remove stray periods from messages

This commit is contained in:
Joshua Boniface 2023-11-16 19:56:24 -05:00
parent e8da3714c0
commit 9885914abd
2 changed files with 6 additions and 6 deletions

View File

@ -427,7 +427,7 @@ def run_benchmark(self, pool):
current_stage += 1
return finish(
self,
f"Storage benchmark {job_name} completed successfully.",
f"Storage benchmark {job_name} completed successfully",
current=current_stage,
total=total_stages,
)

View File

@ -373,7 +373,7 @@ def create_vm(
if pvc_vm.searchClusterByName(zkhandler, vm_name):
fail(
celery,
f"A VM with the name '{vm_name}' already exists in the cluster.",
f"A VM with the name '{vm_name}' already exists in the cluster",
exception=ClusterError,
)
@ -416,7 +416,7 @@ def create_vm(
]:
fail(
celery,
f'The network VNI "{vni}" is not present on the cluster.',
f'The network VNI "{vni}" is not present on the cluster',
exception=ClusterError,
)
@ -432,7 +432,7 @@ def create_vm(
if not volume_data:
fail(
celery,
f"The source volume {volume['pool']}/{volume['source_volume']} could not be found.",
f"The source volume {volume['pool']}/{volume['source_volume']} could not be found",
exception=ClusterError,
)
if not volume["pool"] in pools:
@ -463,7 +463,7 @@ def create_vm(
except Exception:
fail(
celery,
f'Pool "{pool}" is not present on the cluster.',
f'Pool "{pool}" is not present on the cluster',
exception=ClusterError,
)
pool_free_space_gb = int(
@ -474,7 +474,7 @@ def create_vm(
if pool_vm_usage_gb >= pool_free_space_gb:
fail(
celery,
f'Pool "{pool}" has only {pool_free_space_gb} GB free but VM requires {pool_vm_usage_gb} GB.',
f'Pool "{pool}" has only {pool_free_space_gb} GB free but VM requires {pool_vm_usage_gb} GB',
exception=ClusterError,
)