mirror of
https://github.com/netdata/netdata.git
synced 2025-04-06 22:38:55 +00:00
Fixes in integration generation script (#16141)
This commit is contained in:
parent
f69ad3fbcc
commit
112275c789
2 changed files with 2 additions and 2 deletions
integrations
|
@ -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('|', '/')
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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 %]
|
||||
|
|
Loading…
Add table
Reference in a new issue