mirror of https://github.com/status-im/consul.git
fix ent error (#8750)
This commit is contained in:
parent
010abda64c
commit
780d2d79fb
|
@ -706,5 +706,6 @@ func TestUIEndpoint_modifySummaryForGatewayService_UseRequestedDCInsteadOfConfig
|
|||
sum := ServiceSummary{GatewayConfig: GatewayConfig{}}
|
||||
gwsvc := structs.GatewayService{Service: structs.ServiceName{Name: "test"}, Port: 42}
|
||||
modifySummaryForGatewayService(&cfg, dc, &sum, &gwsvc)
|
||||
require.Equal(t, "test.ingress.dc2.consul:42", sum.GatewayConfig.Addresses[0])
|
||||
expected := serviceCanonicalDNSName("test", "ingress", "dc2", "consul", nil) + ":42"
|
||||
require.Equal(t, expected, sum.GatewayConfig.Addresses[0])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue