Skip to content

Commit

Permalink
Debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmabadr committed Oct 14, 2024
1 parent 6112794 commit 2aef4af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/testutils/modulereleasemeta.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ import (

"github.com/kyma-project/lifecycle-manager/api/v1beta2"
"github.com/kyma-project/lifecycle-manager/pkg/util"
"github.com/onsi/ginkgo/v2"
)

func UpdateChannelVersionIfMRMExists(ctx context.Context, clnt client.Client,
moduleName, namespace, channel, version string,
) error {
mrm, err := GetModuleReleaseMeta(ctx, moduleName, namespace, clnt)
ginkgo.GinkgoWriter.Write([]byte(fmt.Sprintf("MODULERELEASEMETA: %v\n", mrm)))

Check failure on line 18 in pkg/testutils/modulereleasemeta.go

View workflow job for this annotation

GitHub Actions / lint

Error return value of `ginkgo.GinkgoWriter.Write` is not checked (errcheck)
if err != nil {
if util.IsNotFound(err) {
return nil
Expand Down

0 comments on commit 2aef4af

Please sign in to comment.