Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-19 03:20:49 +0300
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-19 15:07:46 +0300
commit0aa1a30c3c3183ca1ddac9dc3cf39bbd53f2cf71 (patch)
tree7f610dc50d09d4fbadf4d10671fadc597fd5fc7c
parent93451ff76561dd6f81276dd3bb2e1e9c52dc70c7 (diff)
Lint refactoring: fix miscapitalized comment spotted by "golint"
Fix this lint: comment on exported const `VoteAborted` should be of the form `VoteAborted ...`
-rw-r--r--internal/praefect/transactions/subtransaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/transactions/subtransaction.go b/internal/praefect/transactions/subtransaction.go
index 679eebb06..665001f70 100644
--- a/internal/praefect/transactions/subtransaction.go
+++ b/internal/praefect/transactions/subtransaction.go
@@ -25,7 +25,7 @@ const (
VoteUndecided VoteResult = iota
// VoteCommitted means that the voter committed his vote.
VoteCommitted
- // voteAborted means that the voter aborted his vote.
+ // VoteAborted means that the voter aborted his vote.
VoteAborted
// VoteStopped means that the transaction was gracefully stopped.
VoteStopped