mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-21 16:43:57 +00:00
fix lint errs
This commit is contained in:
@@ -3,8 +3,8 @@ package kube
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"k8s.io/client-go/kubernetes" // Required for GKE auth.
|
||||
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
|
||||
"k8s.io/client-go/kubernetes"
|
||||
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp" // Required for GKE auth.
|
||||
"sigs.k8s.io/controller-runtime/pkg/client/config"
|
||||
)
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
|
||||
var log = logf.Log.WithName("Fairwinds Validator")
|
||||
|
||||
// ValidatePods validates that each pod conforms to the Fairwinds config, returns a ResourceResult.
|
||||
// ValidatePod validates that each pod conforms to the Fairwinds config, returns a ResourceResult.
|
||||
func ValidatePod(conf conf.Configuration, pod *corev1.PodSpec) ResourceResult {
|
||||
resResult := ResourceResult{
|
||||
Type: "Pod",
|
||||
|
||||
Reference in New Issue
Block a user