summaryrefslogtreecommitdiff
path: root/opendc/models/datacenter.py
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/models/datacenter.py')
-rw-r--r--opendc/models/datacenter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/datacenter.py b/opendc/models/datacenter.py
index 29f8367c..21e37b52 100644
--- a/opendc/models/datacenter.py
+++ b/opendc/models/datacenter.py
@@ -13,7 +13,7 @@ class Datacenter(Model):
PATH = '/v1/simulations/{simulationId}/datacenters'
- TABLE_NAME = 'datacenters'
+ COLLECTION_NAME = 'datacenters'
COLUMNS = ['id', 'simulation_id', 'starred']
COLUMNS_PRIMARY_KEY = ['id']