Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zalimeni committed Oct 25, 2023
1 parent dc269f9 commit 83fb1e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/mesh/internal/types/proxy_state_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestValidateProxyStateTemplate(t *testing.T) {

clusterForGroups := func(name string, groups ...*pbproxystate.EndpointGroup) *pbproxystate.Cluster {
cluster := &pbproxystate.Cluster{
Name: name,
Name: name,
Protocol: pbproxystate.Protocol_PROTOCOL_TCP,
}

Expand Down Expand Up @@ -100,7 +100,7 @@ func TestValidateProxyStateTemplate(t *testing.T) {
},
"cluster with missing cluster group": {
pst: pstForCluster("api-cluster", &pbproxystate.Cluster{
Name: "api-cluster",
Name: "api-cluster",
Protocol: pbproxystate.Protocol_PROTOCOL_TCP,
}),
expectErr: `invalid "proxy_state" field: invalid value of key "api-cluster" within clusters: invalid "group" field: missing required field`,
Expand Down Expand Up @@ -165,7 +165,7 @@ func TestValidateProxyStateTemplate(t *testing.T) {
},
"failover cluster with no groups": {
pst: pstForCluster("api-cluster", &pbproxystate.Cluster{
Name: "api-cluster",
Name: "api-cluster",
Protocol: pbproxystate.Protocol_PROTOCOL_TCP,
Group: &pbproxystate.Cluster_FailoverGroup{
FailoverGroup: &pbproxystate.FailoverGroup{
Expand Down

0 comments on commit 83fb1e6

Please sign in to comment.