summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index ced0b0f..b2c1994 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -767,10 +767,10 @@ def image_fits_in_cache(server, ips, image_size):
free_cache = cache_size - used_cache
if free_cache < image_size:
missing_cache = image_size - free_cache
- err_report += f'{ip}: needs {(missing_cache / (1024 ** 3)):.3f} free GiB<br>'
+ err_report += f'{ip} requires {(missing_cache / (1024 ** 3)):.3f} free GiB<br>'
if err_report:
- flash(f'Client cache error:<br>{err_report}', category='error')
+ flash(f'No space left on cache:<br>{err_report}', category='error')
return False
return True