summaryrefslogtreecommitdiffstats
path: root/mock-sdc/vsp_handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'mock-sdc/vsp_handlers.go')
-rw-r--r--mock-sdc/vsp_handlers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mock-sdc/vsp_handlers.go b/mock-sdc/vsp_handlers.go
index 6b45774..02dcd95 100644
--- a/mock-sdc/vsp_handlers.go
+++ b/mock-sdc/vsp_handlers.go
@@ -188,7 +188,7 @@ func postVendorSoftwareProducts(c echo.Context) error {
return err
}
- u1 := uuid.Must(uuid.NewV4()).String()
+ u1 := uuid.NewV4().String()
version := Version{
ID: u1,
Name: "1.0",
@@ -210,7 +210,7 @@ func postVendorSoftwareProducts(c echo.Context) error {
Dirty: false,
},
}
- u2 := uuid.Must(uuid.NewV4()).String()
+ u2 := uuid.NewV4().String()
vspList = append(vspList, Vsp{
ID: u2,
OnboardingMethod: "NetworkPackage",