mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 08:15:48 -04:00
versionsapi: canonicalize ref in version constructors (#3652)
* versionsapi: canonicalize ref in version constructors Co-authored-by: 3u13r <lc@edgeless.systems> Signed-off-by: Paul Meyer <katexochen0@gmail.com> * hack/cli-k8s-compat: canonicalize ref --------- Signed-off-by: Paul Meyer <katexochen0@gmail.com> Co-authored-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
parent
f8a95de174
commit
99a81cd246
4 changed files with 156 additions and 75 deletions
|
@ -45,7 +45,7 @@ func main() {
|
|||
}
|
||||
|
||||
cliInfo := versionsapi.CLIInfo{
|
||||
Ref: *refFlag,
|
||||
Ref: versionsapi.CanonicalizeRef(*refFlag),
|
||||
Stream: *streamFlag,
|
||||
Version: *versionFlag,
|
||||
Kubernetes: []string{},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue