Skip to content

Commit

Permalink
Fix indentation in YAML examples
Browse files Browse the repository at this point in the history
Fix indentation in task YAML examples the developers README.
  • Loading branch information
afrittoli authored and knative-prow-robot committed Jan 22, 2019
1 parent 3e1b25d commit 7282813
Showing 1 changed file with 27 additions and 28 deletions.
55 changes: 27 additions & 28 deletions docs/developers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ expected in directory path `/workspace/output/resource_name`.
```yaml
kind: Task
metadata:
name: get-gcs-task
namespace: default
name: get-gcs-task
namespace: default
spec:
outputs:
resources:
- name: gcs-workspace
type: storage
outputs:
resources:
- name: gcs-workspace
type: storage
```
- If the resource is declared both in input and output for task the then copy
Expand All @@ -60,18 +60,18 @@ expected in directory path `/workspace/output/resource_name`.
```yaml
kind: Task
metadata:
name: get-gcs-task
namespace: default
name: get-gcs-task
namespace: default
spec:
inputs:
resources:
- name: gcs-workspace
type: storage
targetPath: random-space
outputs:
resources:
- name: gcs-workspace
type: storage
inputs:
resources:
- name: gcs-workspace
type: storage
targetPath: random-space
outputs:
resources:
- name: gcs-workspace
type: storage
```

- If resource is declared both in input and output for task without custom
Expand All @@ -82,16 +82,15 @@ expected in directory path `/workspace/output/resource_name`.
```yaml
kind: Task
metadata:
name: get-gcs-task
namespace: default
name: get-gcs-task
namespace: default
spec:
inputs:
resources:
- name: gcs-workspace
type: storage
name: storage
outputs:
resources:
- name: gcs-workspace
type: storage
inputs:
resources:
- name: gcs-workspace
type: storage
outputs:
resources:
- name: gcs-workspace
type: storage
```

0 comments on commit 7282813

Please sign in to comment.