From: Zhang Rong(Jon) Date: Thu, 2 Feb 2023 13:22:17 +0000 (+0800) Subject: Fix INF-394 change the oCloud name will create a new deployment manager item X-Git-Tag: 2.0.1~1^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=884a0564a4514b77402fcf0c7055ea9f6411cec5;p=pti%2Fo2.git Fix INF-394 change the oCloud name will create a new deployment manager item Issue-ID: INF-394 Signed-off-by: Zhang Rong(Jon) Change-Id: Ia7f7aac777193fc948523ac57cc09a595b38572d --- diff --git a/o2ims/adapter/clients/ocloud_client.py b/o2ims/adapter/clients/ocloud_client.py index b8eeb21..4a87af9 100644 --- a/o2ims/adapter/clients/ocloud_client.py +++ b/o2ims/adapter/clients/ocloud_client.py @@ -635,7 +635,7 @@ class StxClientImp(object): setattr(cluster, 'name', cluster.cloud_name + '.' + cluster.cluster_name) setattr(cluster, 'uuid', - uuid.uuid3(uuid.NAMESPACE_URL, cluster.name)) + uuid.uuid3(uuid.NAMESPACE_URL, cluster.cluster_name)) setattr(cluster, 'updated_at', None) setattr(cluster, 'created_at', None) setattr(cluster, 'events', [])