Skip to content

Commit

Permalink
Update docs/operator-manual/notifications/troubleshooting-errors.md
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Garfield <[email protected]>

Signed-off-by: Dan Garfield <[email protected]>
  • Loading branch information
todaywasawesome authored Oct 2, 2024
1 parent 650bb18 commit d5d3673
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/operator-manual/notifications/troubleshooting-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ template.example: |
This case is similar to the previous one, you have multiple sources in the Application manifest.
Default `revisionPath` template `{{.app.status.operationState.syncResult.revision}}` is for an Application with single source.

Application status in yaml for multiple source is like this:
Multi-source applications report application statuses in an array:

```yaml
status:
Expand All @@ -75,8 +75,6 @@ status:
revisions:
- 38cfa22edf9148caabfecb288bfb47dc4352dfc6
- 38cfa22edf9148caabfecb288bfb47dc4352dfc6
```

Quick fix for this is to use `index` function to get the first revision:
```yaml
template.example: |
Expand Down

0 comments on commit d5d3673

Please sign in to comment.