Skip to content

Commit

Permalink
remove spaces
Browse files Browse the repository at this point in the history
Signed-off-by: jehad.nasser2 <[email protected]>
  • Loading branch information
jehadnasser committed Jul 23, 2024
1 parent a56d2de commit 42d7bbf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,16 @@ func (g *XGenerator) GenerateXRD() (*c.CompositeResourceDefinition, error) {
Plural: "composite" + plural,
Categories: g.generateCategories(),
},
Versions: []c.CompositeResourceDefinitionVersion {
Versions: []c.CompositeResourceDefinitionVersion{
{
Name: g.Version,
Referenceable: true,
Served: true,
Schema: &c.CompositeResourceValidation {
OpenAPIV3Schema: runtime.RawExtension {
Object: &unstructured.Unstructured {
Schema: &c.CompositeResourceValidation{
OpenAPIV3Schema: runtime.RawExtension{
Object: &unstructured.Unstructured{
Object: map[string]interface{} {
"properties": map[string]interface{} {
"properties": map[string]interface{}{
"spec": g.xrdSchema,
"status": status,
},
Expand Down

0 comments on commit 42d7bbf

Please sign in to comment.