mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Fix golint errors in pkg/apis/apps
This commit is contained in:
parent
b5a2abfda7
commit
171b486c34
@ -6,7 +6,6 @@ pkg/apis/admission
|
|||||||
pkg/apis/admissionregistration/v1
|
pkg/apis/admissionregistration/v1
|
||||||
pkg/apis/admissionregistration/v1beta1
|
pkg/apis/admissionregistration/v1beta1
|
||||||
pkg/apis/admissionregistration/validation
|
pkg/apis/admissionregistration/validation
|
||||||
pkg/apis/apps
|
|
||||||
pkg/apis/apps/v1
|
pkg/apis/apps/v1
|
||||||
pkg/apis/apps/v1beta1
|
pkg/apis/apps/v1beta1
|
||||||
pkg/apis/apps/v1beta2
|
pkg/apis/apps/v1beta2
|
||||||
|
@ -332,8 +332,8 @@ type DeploymentSpec struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// DEPRECATED.
|
|
||||||
// DeploymentRollback stores the information required to rollback a deployment.
|
// DeploymentRollback stores the information required to rollback a deployment.
|
||||||
|
// DEPRECATED.
|
||||||
type DeploymentRollback struct {
|
type DeploymentRollback struct {
|
||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
// Required: This must match the Name of a deployment.
|
// Required: This must match the Name of a deployment.
|
||||||
@ -679,10 +679,10 @@ type DaemonSet struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// DEPRECATED: DefaultDaemonSetUniqueLabelKey is used instead.
|
|
||||||
// DaemonSetTemplateGenerationKey is the key of the labels that is added
|
// DaemonSetTemplateGenerationKey is the key of the labels that is added
|
||||||
// to daemon set pods to distinguish between old and new pod templates
|
// to daemon set pods to distinguish between old and new pod templates
|
||||||
// during DaemonSet template update.
|
// during DaemonSet template update.
|
||||||
|
// DEPRECATED: DefaultDaemonSetUniqueLabelKey is used instead.
|
||||||
DaemonSetTemplateGenerationKey string = "pod-template-generation"
|
DaemonSetTemplateGenerationKey string = "pod-template-generation"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user