From df5ff02f95b3912598ba12edf982a37191996379 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Tue, 1 Feb 2022 21:26:03 -0800 Subject: [PATCH] docs: fix for bad config service example --- docs/configservices.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/configservices.md b/docs/configservices.md index 42cf1478..4ff8a87c 100644 --- a/docs/configservices.md +++ b/docs/configservices.md @@ -168,13 +168,12 @@ class ExampleService(ConfigService): ] def get_text_template(self, name: str) -> str: - if name == "example-start.sh": - return """ - # sample script 1 - # node id(${node.id}) name(${node.name}) - # config: ${config} - echo hello - """ + return """ + # sample script 1 + # node id(${node.id}) name(${node.name}) + # config: ${config} + echo hello + """ ``` #### Validation Mode