Skip to content

Commit

Permalink
revision should be documented as optional (#92)
Browse files Browse the repository at this point in the history
#32 changed the behavior
of this field but didn't update the README.
  • Loading branch information
gshuflin authored Aug 25, 2023
1 parent b472bbb commit 5cd349a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ This can be changed, but it is heavily discouraged.
| Field | Type | Required | Description | Example |
|----------------|:---------|:----------|:-----------------------------------------------------------------------------------:|--------------------------------------------------:|
| url | String | mandatory | the address of the repo to checkout protobuf files from | "github.com/coralogix/cx-api-users/" |
| revision | String | mandatory | the revision to checkout from, this can either be a tagged version or a commit hash | v0.2 |
| revision | String | Optional | the revision to checkout from, this can either be a tagged version or a commit hash | v0.2 |
| branch | Boolean | Optional | branch can be used to override revision for testing purposes, fetches last commit | feature/v2 |
| protocol | String | mandatory | protocol to use: [ssh, https] | ssh |
| allow_policies | [String] | Optional | Allow policy rules. | "/prefix/*", "*/subpath/*", "/path/to/file.proto" |
Expand Down Expand Up @@ -163,4 +163,4 @@ url = "github.com/org/B"
revision = "5.2.0"
branch = "feature/v2"
transitive = true
```
```

0 comments on commit 5cd349a

Please sign in to comment.