mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
add yaml filename to example yaml
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
@@ -27,7 +27,7 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatalf("Marshalling yaml for pkg0 failed: %s\n", err)
|
||||
}
|
||||
return "# Autogenerated\n" + string(yml)
|
||||
return fmt.Sprintf("# Autogenerated\n# Filename: %s-config-example.yaml\n\n%s", replacer.Replace("{{ $value }}"),string(yml))
|
||||
}(),
|
||||
{{- end}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user