summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 11e3693..1999644 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -311,6 +311,9 @@ def action_setup_modify():
payload['partition_setup'].append(partition_setup)
if partition.partition.data in required_partitions:
required_partitions.remove(partition.partition.data)
+ if partition.part_type.data == 'CACHE':
+ payload['cache'] = '1'
+ payload['cache_size'] = str(partition.size.data)
for partition in required_partitions:
empty_part = {