From ed49e28e2edaa58a31db479e182b249a304704d5 Mon Sep 17 00:00:00 2001 From: Tedi Mitiku Date: Mon, 10 Jun 2024 09:55:12 -0400 Subject: [PATCH] fix typo --- .../starlark-reference/ready-condition.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/docs/api-reference/starlark-reference/ready-condition.md b/docs/docs/api-reference/starlark-reference/ready-condition.md index 07ca0a8b93..476f7b2c1e 100644 --- a/docs/docs/api-reference/starlark-reference/ready-condition.md +++ b/docs/docs/api-reference/starlark-reference/ready-condition.md @@ -87,26 +87,20 @@ def run(plan): # we define the recipe first exec_recipe = ExecRecipe( command = ["echo '{"key":"Hi}'], - extract = { - "value": "fromjson | .key, - } ) ready_conditions_config = ReadyCondition( recipe = exec_recipe, # note how the possible fields are based on the result of executing the ExecRecipe - in this case, .extract - field = "extract.value", - assertion = "==", - target_value = "Hi", + field = "output" + assertion = "!=", + target_value = "", interval = "10s", timeout = "200s", ) service_config = ServiceConfig( - image = "mendhak/http-https-echo:26", - ports = { - "http-port": PortSpec(number = 8080, transport_protocol = "TCP") - }, + image = "ubuntu", ready_conditions= ready_conditions_config, )