From 884a0564a4514b77402fcf0c7055ea9f6411cec5 Mon Sep 17 00:00:00 2001 From: "Zhang Rong(Jon)" Date: Thu, 2 Feb 2023 21:22:17 +0800 Subject: [PATCH] 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 --- o2ims/adapter/clients/ocloud_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', []) -- 2.16.6