Skip to content

Commit 360f80b

Browse files
committed
typos + broken links in documentation
Signed-off-by: Pablo Pérez Schröder <2639770+nomonamo@users.noreply.github.com>
1 parent 5be3322 commit 360f80b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Browse [builtin actions](./pkg/plugins/builtin)
396396
| || `deny_redirects`: a boolean representing the policy of redirects
397397
| || `parameters`: a list of HTTP query parameters, represented as objects composed of `key` and `value`
398398
|**`subtask`** | Spawn a new task on µTask | `template`: the name of a task template, as accepted through µTask's API
399-
| || `inputs`: a map of named values, as accepted on µTask's API
399+
| || `input`: a map of named values, as accepted on µTask's API
400400
|**`notify`** | Dispatch a notification over a registered channel | `message`: the main payload of the notification
401401
| || `fields`: a collection of extra fields to annotate the message
402402
| || `backends`: a collection of the backends over which the message will be dispatched (values accepted: named backends as configured in [`utask-cfg`](./config/README.md))

examples/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## Template
44

5-
You can find template examples under [template directory](template/).
5+
You can find template examples under [template directory](templates/).
66

7-
To begin, we introduce the [hello-world-now.yaml](template/hello-world-now.yaml). Here's a (contrived) example of a task template, showcasing many of its capabilities. A description of each property is provided below.
7+
To begin, we introduce the [hello-world-now.yaml](templates/hello-world-now.yaml). Here's a (contrived) example of a task template, showcasing many of its capabilities. A description of each property is provided below.
88

99
The `hello-world-now` template takes in a `language` input parameter, which admits two possible values, and adopts its default value if no input is provided. The first step of the task is an external API call to retrieve the current UTC time. A second step waits for completion of the first step, then prints out a message conditioned by the input parameter. A final result is built from the output of both steps and shown to the task's requester.
1010

hack/Dockerfile-child

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM ovhcom/utask:v1.0.0 AS builder
1+
FROM ovhcom/utask:v1.0.1 AS builder
22

33
COPY . /go/src/github.com/ovh/utask
44
WORKDIR /go/src/github.com/ovh/utask
55
RUN make
66

7-
FROM ovhcom/utask:v1.0.0
7+
FROM ovhcom/utask:v1.0.1
88

99
COPY templates /app/templates
1010
COPY --from=builder /go/src/github.com/ovh/utask/plugins /app/plugins

0 commit comments

Comments
 (0)