From 76225d2aae619211b4156ae4adcc2770cd3c3168 Mon Sep 17 00:00:00 2001 From: Steve Leon Date: Mon, 9 Mar 2015 17:30:25 -0700 Subject: [PATCH] Fixing network launch reference --- cuedashboard/queues/workflows.py | 7 +------ .../queues/{_launch_network.html => _launch_networks.html} | 0 2 files changed, 1 insertion(+), 6 deletions(-) rename cuedashboard/templates/queues/{_launch_network.html => _launch_networks.html} (100%) diff --git a/cuedashboard/queues/workflows.py b/cuedashboard/queues/workflows.py index 682d26c..6803c1d 100644 --- a/cuedashboard/queues/workflows.py +++ b/cuedashboard/queues/workflows.py @@ -68,11 +68,6 @@ class SetInstanceDetailsAction(workflows.Action): return [] -TROVE_ADD_USER_PERMS = getattr(settings, 'TROVE_ADD_USER_PERMS', []) -TROVE_ADD_DATABASE_PERMS = getattr(settings, 'TROVE_ADD_DATABASE_PERMS', []) -TROVE_ADD_PERMS = TROVE_ADD_USER_PERMS + TROVE_ADD_DATABASE_PERMS - - class SetClusterDetails(workflows.Step): action_class = SetInstanceDetailsAction contributes = ("name", "volume", "flavor", "size") @@ -114,7 +109,7 @@ class SetNetworkAction(workflows.Action): class SetNetwork(workflows.Step): action_class = SetNetworkAction - template_name = "project/databases/_launch_networks.html" + template_name = "queues/_launch_networks.html" contributes = ("network_id",) def contribute(self, data, context): diff --git a/cuedashboard/templates/queues/_launch_network.html b/cuedashboard/templates/queues/_launch_networks.html similarity index 100% rename from cuedashboard/templates/queues/_launch_network.html rename to cuedashboard/templates/queues/_launch_networks.html