Skip to content

Commit d3a8eb9

Browse files
committed
Tweak buf breaking rules to be clearer about what we want done when fields/enums are deleted.
Also remove deprecated `ZONE_STATE_EXITED`
1 parent 304a988 commit d3a8eb9

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

buf.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,13 @@ lint:
1616
use:
1717
- STANDARD
1818
breaking:
19+
ignore_only:
20+
EXTENSION_NO_DELETE:
21+
- protect/control/v1/
22+
ENUM_VALUE_NO_DELETE:
23+
- protect/control/v1/
24+
FIELD_NO_DELETE:
25+
- protect/control/v1/
1926
use:
27+
- WIRE_JSON
2028
- FILE

protect/control/v1/common.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ enum ZoneState {
183183
ZONE_STATE_CREATING = 1;
184184
ZONE_STATE_CREATED = 2;
185185
ZONE_STATE_READY = 3;
186-
ZONE_STATE_EXITED = 4;
186+
reserved 4;
187+
reserved "ZONE_STATE_EXITED";
187188
ZONE_STATE_DESTROYING = 5;
188189
ZONE_STATE_DESTROYED = 6;
189190
ZONE_STATE_FAILED = 7;

0 commit comments

Comments
 (0)