From 20812e38341ebb4d6e734c7cea9c227f1c03257a Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Thu, 15 Apr 2021 18:24:52 -0400 Subject: [PATCH] ui: fix mismatched curly brace in mock-api (#10044) * ui: fix mismatched curly brace in mock-api * ui: add missing closing paren in mock-api --- .../consul-ui/mock-api/v1/internal/ui/gateway-services-nodes/_ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/packages/consul-ui/mock-api/v1/internal/ui/gateway-services-nodes/_ b/ui/packages/consul-ui/mock-api/v1/internal/ui/gateway-services-nodes/_ index e4af134b7..9df887538 100644 --- a/ui/packages/consul-ui/mock-api/v1/internal/ui/gateway-services-nodes/_ +++ b/ui/packages/consul-ui/mock-api/v1/internal/ui/gateway-services-nodes/_ @@ -56,7 +56,7 @@ ${ fake.random.number({min: 1, max: 10}) > 2 ? ` "GatewayConfig": { "Addresses": [ ${ - range(fake.random.number({min: 1, max: 7)).map( + range(fake.random.number({min: 1, max: 7})).map( function(item, i) { return `"${fake.random.number({min: 1, max: 10}) > 8 ? `*.`: ``}${fake.internet.domainName()}:${fake.random.number({min: 0, max: 65535})}"`;