From 6fdb3e75dad15523d996e457c216647755b29101 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Tue, 23 Jun 2020 19:06:38 +0200 Subject: Revamp one endpoint as experiment --- opendc/models/machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/models/machine.py') diff --git a/opendc/models/machine.py b/opendc/models/machine.py index e6e49c4b..b79cae94 100644 --- a/opendc/models/machine.py +++ b/opendc/models/machine.py @@ -22,7 +22,7 @@ class Machine(Model): PATH = '/v1/tiles/{tileId}/rack/machines' - TABLE_NAME = 'machines' + COLLECTION_NAME = 'machines' COLUMNS = ['id', 'rack_id', 'position', 'topology_id'] COLUMNS_PRIMARY_KEY = ['id'] -- cgit v1.2.3