From: fsaintma Date: Fri, 18 Dec 2015 12:38:25 +0000 (+0100) Subject: improve get_reserve_nodes X-Git-Tag: sfa-3.1-21~45 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=262df18c820210321d5bf42be9e19da08c31218c improve get_reserve_nodes --- diff --git a/sfa/iotlab/iotlabshell.py b/sfa/iotlab/iotlabshell.py index c51a7d64..363e4b5e 100644 --- a/sfa/iotlab/iotlabshell.py +++ b/sfa/iotlab/iotlabshell.py @@ -138,11 +138,6 @@ class IotLABShell(object): err.reason) return {'error': err.reason} for exp in experiments['items']: - # BUG IN OAR REST API : job with reservation didn't return - # resources attribute list. We use another request for - # finding job resources - exp_nodes = self.api.method('admin/experiments/%d' % exp['id']) - exp['resources'] = exp_nodes['nodes'] # BUG ASAP jobs without date information if exp['date'] == "as soon as possible": exp['date'] = 0