From 738f7c66e2532a1d5c690860fb2144782edfb820 Mon Sep 17 00:00:00 2001 From: "Zhang Rong(Jon)" Date: Tue, 8 Nov 2022 17:06:03 +0800 Subject: [PATCH] Fix INF-343 ocloud serviceUri should be apiRoot only Issue-ID: INF-343 Signed-off-by: Zhang Rong(Jon) Change-Id: I22b09b6a6d161a07189f1331db83bf3d4fb52784 --- o2ims/service/auditor/ocloud_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/o2ims/service/auditor/ocloud_handler.py b/o2ims/service/auditor/ocloud_handler.py index d1e2fa7..388013f 100644 --- a/o2ims/service/auditor/ocloud_handler.py +++ b/o2ims/service/auditor/ocloud_handler.py @@ -81,7 +81,7 @@ def is_outdated(ocloud: Ocloud, stxobj: StxGenericModel): def create_by(stxobj: StxGenericModel) -> Ocloud: - imsendpoint = config.get_api_url() + config.get_o2ims_api_base() + '/' + imsendpoint = config.get_api_url() globalcloudId = conf.DEFAULT.ocloud_global_id description = "An ocloud" ocloud = Ocloud(stxobj.id, stxobj.name, imsendpoint, -- 2.16.6