Skip to content

Commit

Permalink
Merge pull request #6 from kubevirt/status-with-status-name
Browse files Browse the repository at this point in the history
Added status name to the status description
  • Loading branch information
Jakub Dzon authored Sep 17, 2020
2 parents a81d9e9 + 8b020d1 commit 95d9b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sdk/resources/openapi/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 95d9b4c

Please sign in to comment.