X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=common%2Fpython%2Frift%2Fmano%2Fro_account%2Faccounts.py;h=57f707089edd778d290afc3dde62b5621248ef7a;hb=a2e42557cbf5abfa967bee73f79c2a62ddfb141e;hp=74e5ea282b56c552480ebeeac50ad4824bbc8659;hpb=4870d0ee29789b859931e4e2c73e13dcb29537d5;p=osm%2FSO.git diff --git a/common/python/rift/mano/ro_account/accounts.py b/common/python/rift/mano/ro_account/accounts.py index 74e5ea28..57f70708 100644 --- a/common/python/rift/mano/ro_account/accounts.py +++ b/common/python/rift/mano/ro_account/accounts.py @@ -103,13 +103,14 @@ class ROAccount(object): details="RO account connection status check in progress" ) try: - self._datacenters = [] + datacenter_copy = [] for uuid, name in self._ro_plugin._cli_api.datacenter_list(): - self._datacenters.append({ + datacenter_copy.append({ 'uuid':uuid, 'name':name } ) + self._datacenters = datacenter_copy self._status = RwRoAccountYang.YangData_RwProject_Project_RoAccountState_Account_ConnectionStatus( status="success", details="RO account connection status success"