Skip to content

Commit

Permalink
fix annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmabadr committed Sep 24, 2024
1 parent a93d4ff commit a541a62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/service/templategenerator/templategenerator.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ metadata:
spec:
channel: {{.Channel}}
mandatory: {{.Mandatory}}
data:
{{- with .Data}}
data:
{{. | indent 4}}
{{- end}}
descriptor:
Expand Down Expand Up @@ -169,7 +169,7 @@ func generateAnnotations(config *contentprovider.ModuleConfig, isCrdClusterScope
} else {
annotations[shared.IsClusterScopedAnnotation] = shared.DisableLabelValue
}
return config.Annotations
return annotations
}

func indent(spaces int, input string) string {
Expand Down

0 comments on commit a541a62

Please sign in to comment.