Skip to content

Commit

Permalink
Fix a linter warning. (istio#13426)
Browse files Browse the repository at this point in the history
  • Loading branch information
geeknoid committed Apr 18, 2019
1 parent 377e637 commit 3edc87c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ linters:
- nakedret
- prealloc
- scopelint
- typecheck
fast: false

linters-settings:
Expand Down Expand Up @@ -65,14 +64,6 @@ linters-settings:
maligned:
# print struct with more effective memory layout or not, false by default
suggest-new: true
dupl:
# tokens count to trigger issue, 150 by default
threshold: 100
goconst:
# minimal length of string constant, 3 by default
min-len: 3
# minimal occurrences count to trigger, 3 by default
min-occurrences: 3
misspell:
# Correct spellings using locale preferences for US or UK.
# Default is to use a neutral variety of English.
Expand Down
1 change: 0 additions & 1 deletion pilot/pkg/networking/core/v1alpha3/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ func TestBuildGatewayClustersWithRingHashLbDefaultMinRingSize(t *testing.T) {
g.Expect(cluster.LbPolicy).To(Equal(apiv2.Cluster_RING_HASH))
g.Expect(cluster.GetRingHashLbConfig().GetMinimumRingSize().GetValue()).To(Equal(uint64(1024)))
g.Expect(cluster.Name).To(Equal("outbound|8080||*.example.org"))
//g.Expect(cluster.Type).To(Equal(apiv2.Cluster_EDS))
g.Expect(cluster.ConnectTimeout).To(Equal(time.Duration(10000000001)))
}

Expand Down

0 comments on commit 3edc87c

Please sign in to comment.