mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-23 20:08:51 +00:00
Process getVersion error in bootstrap
Signed-off-by: Boris Kreitchman <bkreitch@gmail.com>
This commit is contained in:
parent
df610c3cca
commit
c01023d8f8
4 changed files with 12 additions and 4 deletions
|
|
@ -132,7 +132,9 @@ func bootstrapGitHubCmdRun(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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue