mirror of https://github.com/hashicorp/consul
ui: fix mismatched curly brace in mock-api (#10044)
* ui: fix mismatched curly brace in mock-api * ui: add missing closing paren in mock-apipull/10049/head
parent
928d3a6d30
commit
f00d5e3a2a
|
@ -56,7 +56,7 @@ ${ fake.random.number({min: 1, max: 10}) > 2 ? `
|
||||||
"GatewayConfig": {
|
"GatewayConfig": {
|
||||||
"Addresses": [
|
"Addresses": [
|
||||||
${
|
${
|
||||||
range(fake.random.number({min: 1, max: 7)).map(
|
range(fake.random.number({min: 1, max: 7})).map(
|
||||||
function(item, i)
|
function(item, i)
|
||||||
{
|
{
|
||||||
return `"${fake.random.number({min: 1, max: 10}) > 8 ? `*.`: ``}${fake.internet.domainName()}:${fake.random.number({min: 0, max: 65535})}"`;
|
return `"${fake.random.number({min: 1, max: 10}) > 8 ? `*.`: ``}${fake.internet.domainName()}:${fake.random.number({min: 0, max: 65535})}"`;
|
||||||
|
|
Loading…
Reference in New Issue