1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Process getVersion error in bootstrap

Signed-off-by: Boris Kreitchman <bkreitch@gmail.com>
This commit is contained in:
Boris Kreitchman
2022-10-11 13:59:56 +03:00
parent df610c3cca
commit c01023d8f8
4 changed files with 12 additions and 4 deletions

View File

@@ -128,7 +128,9 @@ func bootstrapBServerCmdRun(cmd *cobra.Command, args []string) error {
}
// Manifest base
if ver, err := getVersion(bootstrapArgs.version); err == nil {
if ver, err := getVersion(bootstrapArgs.version); err != nil {
return err
} else {
bootstrapArgs.version = ver
}
manifestsBase, err := buildEmbeddedManifestBase()