diff options
-rw-r--r-- | ogcp/templates/cache_inspector.html | 2 | ||||
-rw-r--r-- | ogcp/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/templates/cache_inspector.html b/ogcp/templates/cache_inspector.html index 8e64cd4..ce9703f 100644 --- a/ogcp/templates/cache_inspector.html +++ b/ogcp/templates/cache_inspector.html @@ -27,7 +27,7 @@ </ul> <ul class="list-group list-group-horizontal"> <li class="list-group-item w-50"> - {{ _('Disk size') }} + {{ _('Cache size') }} </li> <li class="list-group-item w-50"> {{ _('used') }} (%) diff --git a/ogcp/views.py b/ogcp/views.py index c230288..75114b7 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -969,7 +969,7 @@ def image_fits_in_cache(server, clients_info, image): free_cache = client_info['free_cache'] if free_cache < image_size: missing_cache = image_size - free_cache - err_report += f'{ip} requires {(missing_cache / (1024 ** 3)):.3f} free GiB<br>' + err_report += f'{ip} requires {(missing_cache / (1024 ** 3)):.3f} more free GiB<br>' if err_report: flash(f'No space left on cache:<br>{err_report}', category='error') |