mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-30 12:48:54 -04:00
cli: use Semver type to represent microservice versions (#2125)
Previously we used strings to pass microservice versions. This invited bugs due to missing input validation.
This commit is contained in:
parent
2d3999440d
commit
1d5a8283e0
35 changed files with 612 additions and 318 deletions
|
@ -7,7 +7,7 @@ go_library(
|
|||
importpath = "github.com/edgelesssys/constellation/v2/internal/semver",
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//internal/constants",
|
||||
"//internal/compatibility",
|
||||
"@org_golang_x_mod//semver",
|
||||
],
|
||||
)
|
||||
|
@ -19,5 +19,6 @@ go_test(
|
|||
deps = [
|
||||
"@com_github_stretchr_testify//assert",
|
||||
"@com_github_stretchr_testify//require",
|
||||
"@in_gopkg_yaml_v3//:yaml_v3",
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue