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

fix: wrap run release test error in case GetPodLogs failed.
pull/30979/head
Matt Farina 3 months ago committed by GitHub
commit 4f018e4f42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save