File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed
Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ ccluster
1010clientv3
1111clustercmd
1212commentf
13+ configcartridgecustom
14+ connpool
1315containsf
1416debugf
1517demoter
6163tntp
6264trimprefix
6365truef
66+ unknowncentralized
67+ unknownnonetarantooletcd
68+ unknownnosinglemulti
69+ unknownoffmanualeventualelectionstatefulsupervised
70+ unknownoffvotercandidatemanual
71+ unknownreadrw
72+ unknownuninitializedbootstrapped
6473vshard
6574vylog
6675warnf
Original file line number Diff line number Diff line change 1616 runs-on : ubuntu-22.04
1717 steps :
1818 - uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ submodules : recursive
22+ fetch-tags : true
1923
2024 - name : Setup Go
2125 uses : actions/setup-go@v4
4852 author :
' TarantoolBot <[email protected] >' 4953 body : ' Automated changes by [update](https://github.com/tarantool/tt/blob/master/.github/workflows/update.yml) job.'
5054 branch : ' github-actions/update'
51- commit-message : ' generate: autoupdate'
55+ commit-message : >+
56+ generate: update auto-generated code
57+
58+ This patch updates auto-generated code.
59+
60+ Related to #1231
5261 committer :
' TarantoolBot <[email protected] >' 5362 title : ' generate: autoupdate'
5463 token : ' ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}'
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package replicaset
22
33import "strings"
44
5+ // ElectionMode defines an enumeration of election types.
56type ElectionMode int
67
78//go:generate stringer -type=ElectionMode -trimprefix ElectionMode -linecomment
@@ -19,6 +20,7 @@ const (
1920 ElectionModeManual // manual
2021)
2122
23+ // ParseElectionMode returns an election type from a string representation.
2224func ParseElectionMode (str string ) ElectionMode {
2325 switch strings .ToLower (str ) {
2426 case "off" :
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ var ConfigEnvPaths = [][]string{
120120]] )
121121
122122for _ , config in ipairs (configs ) do
123- file :write (' []string {' )
123+ file :write (' {' )
124124 for i , v in ipairs (config .path ) do
125125 file :write (' "' .. v .. ' "' )
126126 if i < # config .path then
@@ -136,7 +136,7 @@ var TarantoolSchema = []SchemaPath{
136136]] )
137137
138138for _ , config in ipairs (configs ) do
139- file :write (' SchemaPath {\n Path: []string{' )
139+ file :write (' {\n Path: []string{' )
140140 for i , v in ipairs (config .path ) do
141141 file :write (' "' .. v .. ' "' )
142142 if i < # config .path then
You can’t perform that action at this time.
0 commit comments