protos: Update style guide to try and prevent redundant imports (#16231)

Signed-off-by: Ryan Northey <ryan@synca.io>

Mirrored from https://github.com/envoyproxy/envoy @ 174e45c9a902bd297dd29fa9f895be1f4ebcb916
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent aafecd0932
commit 78096d61ac
  1. 3
      STYLE.md

@ -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

Loading…
Cancel
Save