Skip to content

Commit

Permalink
protos: Update style guide to try and prevent redundant imports (envo…
Browse files Browse the repository at this point in the history
…yproxy#16231)

Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Gokul Nair <[email protected]>
  • Loading branch information
phlax authored and Gokul Nair committed May 5, 2021
1 parent f753076 commit 9143392
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ To add an extension config to the API, the steps below should be followed:
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"],
)
```
1. Add to the v3 extension config proto `import "udpa/annotations/migrate.proto";`
and `import "udpa/annotations/status.proto";`
1. Add to the v3 extension config proto `import "udpa/annotations/status.proto";`
1. If this is still WiP and subject to breaking changes, set
`option (udpa.annotations.file_status).work_in_progress = true;`.
1. Add to the v3 extension config proto a file level
Expand Down

0 comments on commit 9143392

Please sign in to comment.