Skip to content

Commit

Permalink
Fix error handling in package release cli (#1553)
Browse files Browse the repository at this point in the history
Signed-off-by: Egor Pak <[email protected]>
  • Loading branch information
goshkis authored Jun 26, 2024
1 parent edd6fae commit 35abe96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pkg/kctrl/cmd/package/release/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (o *ReleaseOptions) Run() error {
case release.Resource != nil:
err = o.releaseResources(appSpec, *pkgBuild, &pkgConfigs.Pkgs[0], &pkgConfigs.PkgMetadatas[0])
if err != nil {
return nil
return err
}
}
}
Expand Down

0 comments on commit 35abe96

Please sign in to comment.