Skip to content

Commit

Permalink
updated error msg
Browse files Browse the repository at this point in the history
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
  • Loading branch information
SahithiMy committed May 22, 2023
1 parent a50b559 commit de20765
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,17 +187,17 @@ func doBootstrapEnv(airgapBundlePath string, saas bool, frontend bool, backend b
if frontend {
err := moveAirgapFrontendBundlesOnlyToTransferDir(airgapMetadata, upgradeRunCmdFlags.airgap)
if err != nil {
return err
return status.Annotate(err, status.DeployError)
}
} else if backend {
err := moveAirgapBackendBundlesOnlyToTransferDir(airgapMetadata, upgradeRunCmdFlags.airgap)
if err != nil {
return err
return status.Annotate(err, status.DeployError)
}
} else {
err := moveFrontendBackendAirgapToTransferDir(airgapMetadata, upgradeRunCmdFlags.airgap)
if err != nil {
return err
return status.Annotate(err, status.DeployError)
}
}
}
Expand Down

0 comments on commit de20765

Please sign in to comment.