From 91eb1407d2e75c9e941e3d8f9fb56e9fad456439 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 12 Sep 2022 14:20:26 +0000 Subject: [PATCH] Remove incorrect mention of pointer in comment This `DeploymentSpec` struct is used internally; the ones used for serialization do have a pointer and this text was most likely copied from there and not corrected. Signed-off-by: Bryan Boreham --- pkg/apis/apps/types.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/apis/apps/types.go b/pkg/apis/apps/types.go index 24f78a3af7a..2a99526c021 100644 --- a/pkg/apis/apps/types.go +++ b/pkg/apis/apps/types.go @@ -342,9 +342,7 @@ type Deployment struct { // DeploymentSpec specifies the state of a Deployment. type DeploymentSpec struct { - // Number of desired pods. This is a pointer to distinguish between explicit - // zero and not specified. Defaults to 1. - // +optional + // Number of desired pods. Replicas int32 // Label selector for pods. Existing ReplicaSets whose pods are