diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-02 12:42:47 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-09 13:20:19 +0300 |
commit | 58aa3bc8b0f8a1dd7fd9ec006ff870d59d8c01be (patch) | |
tree | 3c59ff4f3ae97dc286791f5c40457d30a110be27 /proto/transaction.proto | |
parent | 17dfa058c4310339eb8fcdb871ed46d97ad1d65e (diff) |
proto: Enforce comment-linting for enum fields
Enforce that enum fields must have a comment and add a placeholder for
all instances where such a comment is missing.
Diffstat (limited to 'proto/transaction.proto')
-rw-r--r-- | proto/transaction.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/transaction.proto b/proto/transaction.proto index 4e8864c81..992178165 100644 --- a/proto/transaction.proto +++ b/proto/transaction.proto @@ -75,8 +75,11 @@ message VoteTransactionResponse { // The outcome of the given transaction telling the client whether the // transaction should be committed or rolled back. enum TransactionState { + // This comment is left unintentionally blank. COMMIT = 0; + // This comment is left unintentionally blank. ABORT = 1; + // This comment is left unintentionally blank. STOP = 2; } |