File tree Expand file tree Collapse file tree 2 files changed +49
-1
lines changed
Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 1+ version : " 2"
2+ run :
3+ allow-parallel-runners : true
4+ linters :
5+ default : none
6+ enable :
7+ - copyloopvar
8+ - dupl
9+ - errcheck
10+ - ginkgolinter
11+ - goconst
12+ - gocyclo
13+ - govet
14+ - ineffassign
15+ - lll
16+ - misspell
17+ - nakedret
18+ - prealloc
19+ - staticcheck
20+ - unconvert
21+ - unparam
22+ - unused
23+ exclusions :
24+ generated : lax
25+ rules :
26+ - linters :
27+ - lll
28+ path : api/*
29+ - linters :
30+ - dupl
31+ - lll
32+ path : internal/*
33+ paths :
34+ - third_party$
35+ - builtin$
36+ - examples$
37+ formatters :
38+ enable :
39+ - gofmt
40+ - goimports
41+ exclusions :
42+ generated : lax
43+ paths :
44+ - third_party$
45+ - builtin$
46+ - examples$
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ var proxyCmd = &cobra.Command{
1818 if err != nil {
1919 panic (err )
2020 }
21- if err := forwarder .ForwardPorts (cmd .Flag ("name" ).Value .String (), cmd .Flag ("namespace" ).Value .String (), cmd .Flag ("port" ).Value .String ()); err != nil {
21+ if err := forwarder .ForwardPorts (cmd .Flag ("name" ).Value .String (),
22+ cmd .Flag ("namespace" ).Value .String (),
23+ cmd .Flag ("port" ).Value .String ()); err != nil {
2224 panic (err )
2325 }
2426 },
You can’t perform that action at this time.
0 commit comments