Merge pull request #30973 from manslaughter03/fix/issue-13648

fix: wrap run release test error in case GetPodLogs failed.
This commit is contained in:
Matt Farina 2025-06-12 14:37:09 -06:00 committed by GitHub
commit 4f018e4f42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
}
}