From 8ca932df3899faa4716fc9980637eac1f7b474b7 Mon Sep 17 00:00:00 2001 From: Fabio Verboso Date: Wed, 3 Oct 2018 12:01:52 +0200 Subject: [PATCH] Fix Fleets info on boards. Now the commands of the board show the fleet field Change-Id: Ie2c4174dc93941f2e753f386a9ccfbeb3a1c8ee8 --- iotronicclient/v1/resource_fields.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iotronicclient/v1/resource_fields.py b/iotronicclient/v1/resource_fields.py index dcbcc29..2bfb152 100644 --- a/iotronicclient/v1/resource_fields.py +++ b/iotronicclient/v1/resource_fields.py @@ -63,7 +63,7 @@ class Resource(object): 'network': 'Network', 'ip': 'ip', 'description': 'Description', - + 'fleet': 'Fleet', # # 'address': 'Address', # 'async': 'Async', @@ -155,10 +155,12 @@ BOARD_DETAILED_RESOURCE = Resource( 'name', 'type', 'status', + 'fleet', 'code', 'session', 'mobile', 'extra', + 'created_at', 'updated_at', 'location', @@ -173,6 +175,7 @@ BOARD_RESOURCE = Resource( ['uuid', 'name', 'type', + 'fleet', 'status', 'session', ])