docs: fix for bad config service example
This commit is contained in:
parent
8f767208e0
commit
df5ff02f95
1 changed files with 6 additions and 7 deletions
|
@ -168,13 +168,12 @@ class ExampleService(ConfigService):
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_text_template(self, name: str) -> str:
|
def get_text_template(self, name: str) -> str:
|
||||||
if name == "example-start.sh":
|
return """
|
||||||
return """
|
# sample script 1
|
||||||
# sample script 1
|
# node id(${node.id}) name(${node.name})
|
||||||
# node id(${node.id}) name(${node.name})
|
# config: ${config}
|
||||||
# config: ${config}
|
echo hello
|
||||||
echo hello
|
"""
|
||||||
"""
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Validation Mode
|
#### Validation Mode
|
||||||
|
|
Loading…
Reference in a new issue