Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-57349

non-constant format string in call to fmt.Errorf

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Rejected
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When using go v1.24, there are fmt.Errorf errors when running go test.

      Version-Release number of selected component (if applicable):

          4.20

      How reproducible:

          Always

      Steps to Reproduce:

          1. Update the go version in go.mod
          2. make test   

      Actual results:

      pkg/operator/secretannotator/vsphere/reconciler.go:163:21: non-constant format string in call to fmt.Errorf
      
      pkg/operator/utils/errorscrub_test.go:35:57: non-constant format string in call to fmt.Errorf 

       

      Expected results:

      No errors

      Additional info:

          

              jstuever@redhat.com Jeremiah Stuever
              jstuever@redhat.com Jeremiah Stuever
              None
              None
              Jianping Shu Jianping Shu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: