summaryrefslogtreecommitdiffstats
path: root/mock-sdc/vendor_handlers.go
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-12-12 16:49:00 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-12-12 16:49:00 +0100
commit3a57d8c9297d3c587cf5d76418ca60bb9937ce60 (patch)
tree818d7f0291541428cfaa6dbe1118d6dcef669ac4 /mock-sdc/vendor_handlers.go
parent63b9911d7018e5bb7b5f0d70abb72aa995ad01a4 (diff)
Fix mock sdc docker buildHEADmaster
- adjust UUID function since the version is not pinned and it changed upstream Issue-ID: SDC-4705 Change-Id: Id949a87ca30e7550cb849d50122272db8d172fa6 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'mock-sdc/vendor_handlers.go')
-rw-r--r--mock-sdc/vendor_handlers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mock-sdc/vendor_handlers.go b/mock-sdc/vendor_handlers.go
index 2bdde87..ad55071 100644
--- a/mock-sdc/vendor_handlers.go
+++ b/mock-sdc/vendor_handlers.go
@@ -113,7 +113,7 @@ func postVendorServiceModels(c echo.Context) error {
return err
}
- u1 := uuid.Must(uuid.NewV4()).String()
+ u1 := uuid.NewV4().String()
version := Version{
ID: u1,
Name: "1.0",
@@ -135,7 +135,7 @@ func postVendorServiceModels(c echo.Context) error {
Dirty: false,
},
}
- u2 := uuid.Must(uuid.NewV4()).String()
+ u2 := uuid.NewV4().String()
var empty struct{}
vendorList = append(vendorList, Vendor{
ID: u2,