This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR: staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go:37:2: optionalorrequired: field Spec must be marked as optional or required (kubeapilinter) | |
| ERROR: Spec ImageReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` | |
| ERROR: ^ | |
| ERROR: staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go:71:2: optionalorrequired: field Allowed must be marked as optional or required (kubeapilinter) | |
| ERROR: Allowed bool `json:"allowed" protobuf:"varint,1,opt,name=allowed"` | |
| ERROR: ^ | |
| 2 issues: | |
| * kubeapilinter: 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| installing golangci-lint, logcheck kube-api-linter and sorted plugins from hack/tools/golangci-lint into /home/shaan/Projects/kubernetes/_output/local/bin | |
| running /home/shaan/Projects/kubernetes/_output/local/bin/golangci-lint run --color=always --config=/home/shaan/Projects/kubernetes/hack/golangci.yaml ./... ./staging/src/k8s.io/api/... ./staging/src/k8s.io/apiextensions-apiserver/... ./staging/src/k8s.io/apimachinery/... ./staging/src/k8s.io/apiserver/... ./staging/src/k8s.io/cli-runtime/... ./staging/src/k8s.io/client-go/... ./staging/src/k8s.io/cloud-provider/... ./staging/src/k8s.io/cluster-bootstrap/... ./staging/src/k8s.io/code-generator/... ./staging/src/k8s.io/component-base/... ./staging/src/k8s.io/component-helpers/... ./staging/src/k8s.io/controller-manager/... ./staging/src/k8s.io/cri-api/... ./staging/src/k8s.io/cri-client/... ./staging/src/k8s.io/csi-translation-lib/... ./staging/src/k8s.io/dynamic-resource-allocation/... ./staging/src/k8s.io/endpointslice/... ./staging/src/k8s.io/externaljwt/ |