From 81c4c73498053c8d3c1673b2cbdf153c97cf1dc7 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Thu, 6 Jun 2024 17:21:35 +0200 Subject: 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. --- ogcp/views.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ogcp/views.py') 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')) -- cgit v1.2.3-18-g5258