Summary
CodeRabbit's review of #1455 identified that the import groups in has_license.go are misordered.
github.com/go-logr/logr should be grouped with third-party imports (above project-local imports), not after them, per goimports with the repo's local prefix (github.com/redhat-openshift-ecosystem/openshift-preflight).
import (
"context"
"errors"
"fmt"
"io/fs"
"os"
"path/filepath"
"slices"
"strings"
+ "github.com/go-logr/logr"
+
"github.com/redhat-openshift-ecosystem/openshift-preflight/internal/check"
"github.com/redhat-openshift-ecosystem/openshift-preflight/internal/image"
"github.com/redhat-openshift-ecosystem/openshift-preflight/internal/log"
-
- "github.com/go-logr/logr"
)
References
Summary
CodeRabbit's review of #1455 identified that the import groups in
has_license.goare misordered.github.com/go-logr/logrshould be grouped with third-party imports (above project-local imports), not after them, pergoimportswith the repo's local prefix (github.com/redhat-openshift-ecosystem/openshift-preflight).References