mirror of
https://github.com/helm/helm.git
synced 2026-04-09 10:56:20 -04:00
Merge pull request #30973 from manslaughter03/fix/issue-13648
fix: wrap run release test error in case GetPodLogs failed.
This commit is contained in:
commit
4f018e4f42
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ limitations under the License.
|
|||
package cmd
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"regexp"
|
||||
|
|
@ -85,7 +86,7 @@ func newReleaseTestCmd(cfg *action.Configuration, out io.Writer) *cobra.Command
|
|||
// Print a newline to stdout to separate the output
|
||||
fmt.Fprintln(out)
|
||||
if err := client.GetPodLogs(out, rel); err != nil {
|
||||
return err
|
||||
return errors.Join(runErr, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue