docs: fix for bad config service example

This commit is contained in:
Blake Harnden 2022-02-01 21:26:03 -08:00
parent 8f767208e0
commit df5ff02f95

View file

@ -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