0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-06 22:38:55 +00:00

Fixes in integration generation script ()

This commit is contained in:
Fotis Voutsas 2023-10-06 11:24:58 +03:00 committed by GitHub
parent f69ad3fbcc
commit 112275c789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
integrations

View file

@ -149,7 +149,7 @@ def strfy(value):
if not isinstance(value, str):
return value
return ' '.join([v.strip() for v in value.strip().split("\n") if v])
return ' '.join([v.strip() for v in value.strip().split("\n") if v]).replace('|', '/')

View file

@ -65,7 +65,7 @@ There is no configuration file.
| Name | Description | Default | Required |
|:----|:-----------|:-------|:--------:|
[% for item in entry.setup.configuration.options.list %]
| [[ strfy(item.name) ]] | [[ strfy(item.description) ]] | [[ strfy(item.default) ]] | [[ strfy(item.required) ]] |
| [[ strfy(item.name) ]] | [[ strfy(item.description) ]] | [[ strfy(item.default_value) ]] | [[ strfy(item.required) ]] |
[% endfor %]
[% for item in entry.setup.configuration.options.list %]