From: Felipe Vicens Date: Wed, 5 Jun 2019 17:26:04 +0000 (+0200) Subject: Fix bug #677 osm nsi-op-list name' and 'osm nsi-op-show id' returns null X-Git-Tag: v6.0.0~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=536f750e02512ca4eb04a700fe0bbeeecdafe85a;p=osm%2Fosmclient.git Fix bug #677 osm nsi-op-list name' and 'osm nsi-op-show id' returns null Change-Id: I95e9691e9ef0ba8aafb40d6a0a207949c3cfe147 Signed-off-by: Felipe Vicens --- diff --git a/osmclient/sol005/nsi.py b/osmclient/sol005/nsi.py index 392d1ab..33c0b92 100644 --- a/osmclient/sol005/nsi.py +++ b/osmclient/sol005/nsi.py @@ -249,7 +249,7 @@ class Nsi(object): filter_string = '' if filter: filter_string = '&{}'.format(filter) - http_code, resp = self._http.get2_cmd('{}?nsiInstanceId={}'.format( + http_code, resp = self._http.get2_cmd('{}?netsliceInstanceId={}'.format( self._apiBase, nsi['_id'], filter_string) ) #print 'HTTP CODE: {}'.format(http_code)