From f589682b0840aab0624122052eb863cf8dc3a0b9 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Sun, 13 Aug 2017 23:12:16 +0300 Subject: Convert API codebase to flat model --- opendc/models/rack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/models/rack.py') diff --git a/opendc/models/rack.py b/opendc/models/rack.py index a9aeeff9..b547afa1 100644 --- a/opendc/models/rack.py +++ b/opendc/models/rack.py @@ -14,7 +14,7 @@ class Rack(Model): } } - PATH = '/v1/simulations/{simulationId}/datacenters/{datacenterId}/rooms/{roomId}/tiles/{tileId}/rack' + PATH = '/v1/tiles/{tileId}/rack' TABLE_NAME = 'racks' COLUMNS = ['id', 'name', 'capacity', 'power_capacity_w'] -- cgit v1.2.3