Skip to content

Issue with upgrade to Ginkogo v2 for printer function #2884

Closed
@snidama2

Description

@snidama2

With the new upgrade to controller-runtime, as it is using ginkgo v2 I am unsure how to edit my test suite so it can adapt to the sigs.k8s.io/controller-runtime/pkg/envtest/printer package being removed.

For instance, I have this code:
[]Reporter{printer.NewlineReporter{}})

I am trying to edit this to use the GinkgoWriter.Println() functionality, but I keep running into errors, so what is the best way to alter the code above to not use the printer package and use the ginkgo v2 functions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportCategorizes issue or PR as a support question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions