mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-10-17 21:11:13 -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
|
@ -592,7 +592,7 @@ func (m *stubMerger) kubeconfigEnvVar() string {
|
|||
func defaultConfigWithExpectedMeasurements(t *testing.T, conf *config.Config, csp cloudprovider.Provider) *config.Config {
|
||||
t.Helper()
|
||||
|
||||
conf.Image = "v" + constants.VersionInfo()
|
||||
conf.Image = constants.BinaryVersion().String()
|
||||
conf.Name = "kubernetes"
|
||||
|
||||
switch csp {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue