From 8b020d19351e09454180ef13480d0c2faba0ccde Mon Sep 17 00:00:00 2001 From: Jakub Dzon Date: Thu, 17 Sep 2020 12:19:12 +0200 Subject: [PATCH] Added status name to the status description Signed-off-by: Jakub Dzon --- pkg/sdk/resources/openapi/status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/sdk/resources/openapi/status.go b/pkg/sdk/resources/openapi/status.go index 85bc8792..149b7914 100644 --- a/pkg/sdk/resources/openapi/status.go +++ b/pkg/sdk/resources/openapi/status.go @@ -3,10 +3,10 @@ package openapi import extv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" // OperatorConfigStatus provides JSONSchemaProps for the Status struct -func OperatorConfigStatus(operatorName string) extv1.JSONSchemaProps { +func OperatorConfigStatus(statusName string, operatorName string) extv1.JSONSchemaProps { return extv1.JSONSchemaProps{ Type: "object", - Description: "Defines the status of the " + operatorName + " installation", + Description: statusName + " defines the status of the " + operatorName + " installation", Properties: map[string]extv1.JSONSchemaProps{ "targetVersion": { Description: "The desired version of the " + operatorName + " resource",