Skip to content

Commit

Permalink
Merge pull request #557 from appgate:SA-23743-fix-logserver-bundle-panic
Browse files Browse the repository at this point in the history
Fix panic when using `logserver-bundle` flag
  • Loading branch information
kajes committed May 7, 2024
2 parents e14d6a2 + fef46c1 commit d29143a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/appliance/upgrade/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,11 @@ func prepareRun(cmd *cobra.Command, opts *prepareUpgradeOptions) error {
bundleProgress.WriteLine("Bundle prepared successfully", "")
bundleProgress.Wait()
}
} else {
zip, err = os.Open(opts.logServerBundlePath)
if err != nil {
return err
}
}

if err := fm.AddToQueue(zip, logServerZipName); err != nil {
Expand Down

0 comments on commit d29143a

Please sign in to comment.