mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-10-28 15:05:03 +08:00
lint: drop ineffective canonical import comments (Go 1.27 prep)
This commit is contained in:
6 files changed
+6
-6
No files matched your search
@@ -16,7 +16,7 @@ limitations under the License.
|
||||
|
||||
// Package podcertificaterequest provides Registry interface and its RESTStorage
|
||||
// implementation for storing PodCertificateRequest objects.
|
||||
package podcertificaterequest // import "k8s.io/kubernetes/pkg/registry/certificates/podcertificaterequest"
|
||||
package podcertificaterequest
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
@@ -15,4 +15,4 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
// Package labels provides utilities to work with Kubernetes labels.
|
||||
package labels // import "k8s.io/kubernetes/pkg/util/labels"
|
||||
package labels
|
||||
@@ -22,4 +22,4 @@ limitations under the License.
|
||||
// also trigger the plugin to copy the labels as described.
|
||||
// If the binding target is NOT a Node object, no action is taken.
|
||||
// If the referenced Node object does not exist, no action is taken.
|
||||
package podtopologylabels // import "k8s.io/kubernetes/plugin/pkg/admission/podtopologylabels"
|
||||
package podtopologylabels
|
||||
+1
-1
@@ -17,4 +17,4 @@ limitations under the License.
|
||||
// +k8s:deepcopy-gen=package
|
||||
|
||||
// Package policyconfig defines the configuration for the validating and mutating admission policy plugins.
|
||||
package policyconfig // import "k8s.io/apiserver/pkg/admission/plugin/policy/config/apis/policyconfig"
|
||||
package policyconfig
|
||||
+1
-1
@@ -18,4 +18,4 @@ limitations under the License.
|
||||
// +k8s:conversion-gen=k8s.io/apiserver/pkg/admission/plugin/policy/config/apis/policyconfig
|
||||
|
||||
// Package v1 is the v1 version of the API.
|
||||
package v1 // import "k8s.io/apiserver/pkg/admission/plugin/policy/config/apis/policyconfig/v1"
|
||||
package v1
|
||||
@@ -31,4 +31,4 @@ limitations under the License.
|
||||
// the configuration, which in turn rely on members of the same package, which cannot be moved,
|
||||
// or imported (cyclic dependency) here.
|
||||
|
||||
package v1 // import "k8s.io/component-base/metrics/api/v1"
|
||||
package v1
|
||||
Reference in new issue
Block a user