summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-06 17:21:35 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-07 14:35:41 +0200
commit81c4c73498053c8d3c1673b2cbdf153c97cf1dc7 (patch)
treea8b04047942dbbc3a7a08ac3e4ddd0153f49a1de /ogcp/views.py
parent26785aa88b52b813ccb83e12316b6ce65e423362 (diff)
views: enable client partitioning without cache
Remove the check that disables creating a client without cache. This is the initial step towards unicast restoration support.
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 11ff7b5..60afbd3 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -658,10 +658,6 @@ def action_setup_modify():
flash(_('Partitions can\'t have a size of zero or lower'), category='error')
return redirect(url_for('commands'))
- if cache_count == 0:
- flash(_(f'Missing cache partition'), category='error')
- return redirect(url_for('commands'))
-
if cache_count > 1:
flash(_(f'More than one cache partition is not supported'), category='error')
return redirect(url_for('commands'))