Uploaded image for project: 'OPCT - OpenShift Provider Compatibility Tool'
  1. OPCT - OpenShift Provider Compatibility Tool
  2. OPCT-199

[bug][CLI] Review go-bindata dependency fixing ioutils deprecation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • None
    • CLI

    Description

      Issue:

      • go-bindata is not fixing the deprecation of ioutils reported by code analysis check

      Description

      go-bindata is used to generate the code for the plugin manifests. Since the update of CI step for static code analysis, the ioutils has been reported as deprecation and the most recent version of go-bindata (1.3.2) is not fixing the issue on the generated code.

      Goal:

      • Review the dependency of project go-bindata as static code gen for static manifests. It would be preferable to have alternatives without depending on external tools/libs.

      Engineering references:

       

       

      ~~~

      Error: pkg/assets/bindata.go:11:2: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)

      ~~~

      Attachments

        Activity

          People

            rhn-support-mrbraga Marco Braga
            rhn-support-mrbraga Marco Braga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d

                PagerDuty