Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Commit c9e083f

Browse files
committed
REORG/MINOR: typo on generated code
1 parent 4e44ad0 commit c9e083f

105 files changed

Lines changed: 105 additions & 105 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

generate/others.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type {{ .StructName }} struct {
1414
Name string
1515
// Mode string
1616
data []types.{{ .ParserType }}
17-
preComments []string // comments that appear before the the actual line
17+
preComments []string // comments that appear before the actual line
1818
}
1919

2020
{{- if not .NoInit }}

parsers/acl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

2727
type ACL struct {
2828
data []types.ACL
29-
preComments []string // comments that appear before the the actual line
29+
preComments []string // comments that appear before the actual line
3030
}
3131

3232
func (h *ACL) parse(line string, parts []string, comment string) (*types.ACL, error) {

parsers/balance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828

2929
type Balance struct {
3030
data *types.Balance
31-
preComments []string // comments that appear before the the actual line
31+
preComments []string // comments that appear before the actual line
3232
}
3333

3434
func (p *Balance) parseBalanceParams(pb params.BalanceParams, line string, parts []string) (*types.Balance, error) {

parsers/bind-process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828

2929
type BindProcess struct {
3030
data *types.BindProcess
31-
preComments []string // comments that appear before the the actual line
31+
preComments []string // comments that appear before the actual line
3232
}
3333

3434
func (p *BindProcess) Parse(line string, parts []string, comment string) (string, error) {

parsers/bind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727

2828
type Bind struct {
2929
data []types.Bind
30-
preComments []string // comments that appear before the the actual line
30+
preComments []string // comments that appear before the actual line
3131
}
3232

3333
func (h *Bind) parse(line string, parts []string, comment string) (*types.Bind, error) {

parsers/compression-algo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

2727
type CompressionAlgo struct {
2828
data *types.StringSliceC
29-
preComments []string // comments that appear before the the actual line
29+
preComments []string // comments that appear before the actual line
3030
}
3131

3232
func (c *CompressionAlgo) Parse(line string, parts []string, comment string) (string, error) {

parsers/compression-offload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
type CompressionOffload struct {
2626
data *types.Enabled
27-
preComments []string // comments that appear before the the actual line
27+
preComments []string // comments that appear before the actual line
2828
}
2929

3030
func (c *CompressionOffload) Parse(line string, parts []string, comment string) (string, error) {

parsers/compression-type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

2727
type CompressionType struct {
2828
data *types.StringSliceC
29-
preComments []string // comments that appear before the the actual line
29+
preComments []string // comments that appear before the actual line
3030
}
3131

3232
func (c *CompressionType) Parse(line string, parts []string, comment string) (string, error) {

parsers/config-snippet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
type ConfigSnippet struct {
2828
data *types.StringSliceC
2929
active bool
30-
preComments []string // comments that appear before the the actual line
30+
preComments []string // comments that appear before the actual line
3131
}
3232

3333
func (p *ConfigSnippet) Parse(line string, parts []string, comment string) (string, error) {

parsers/cookie.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const CookieKeyword = "cookie"
2929

3030
type Cookie struct {
3131
data *types.Cookie
32-
preComments []string // comments that appear before the the actual line
32+
preComments []string // comments that appear before the actual line
3333
}
3434

3535
func (p *Cookie) Parse(line string, parts []string, comment string) (string, error) { //nolint:gocognit

0 commit comments

Comments
 (0)