aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/cps/anchor.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-01-18 12:29:40 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-01-19 09:24:09 +0000
commit21e9eda103d2cb5228f20a1518d10ba55e610983 (patch)
tree26fa371af27bca271cb6ce2b9b3424754ec11209 /src/onapsdk/cps/anchor.py
parent43e2ad7a54287f03fc594e559ac147ddaf896228 (diff)
[CPS] Fix errors on CPS module and release 10.3.2 versionv10.3.2
Fix getting schame-set Use API versioning Issue-ID: INT-2194 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I541ca9d143b0fa184fb5b734b4b355d44040d30b
Diffstat (limited to 'src/onapsdk/cps/anchor.py')
-rw-r--r--src/onapsdk/cps/anchor.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/onapsdk/cps/anchor.py b/src/onapsdk/cps/anchor.py
index f02687d..6e37a3c 100644
--- a/src/onapsdk/cps/anchor.py
+++ b/src/onapsdk/cps/anchor.py
@@ -55,8 +55,7 @@ class Anchor(CpsElement):
str: Anchor url
"""
- return f"{self._url}/cps/api/v1/dataspaces/"\
- f"{self.schema_set.dataspace.name}/anchors/{self.name}"
+ return f"{self._url}/dataspaces/{self.schema_set.dataspace.name}/anchors/{self.name}"
def delete(self) -> None:
"""Delete anchor."""