mirror of https://github.com/status-im/consul.git
Update catalog mock data for Mode attr
This commit is contained in:
parent
f9416b04b9
commit
53a0fc56e9
|
@ -58,7 +58,7 @@ as |route|>
|
|||
</h1>
|
||||
<Consul::ExternalSource @item={{item}} />
|
||||
<Consul::Kind @item={{item}} @withInfo={{true}} />
|
||||
{{#if proxy.ServiceProxy.Mode}}
|
||||
{{#if (eq proxy.ServiceProxy.Mode 'transparent')}}
|
||||
<Consul::TransparentProxy />
|
||||
{{/if}}
|
||||
</BlockSlot>
|
||||
|
|
|
@ -49,7 +49,7 @@ ${range(env('CONSUL_EXPOSED_COUNT', 3)).map((i) => `
|
|||
`)}
|
||||
]
|
||||
},
|
||||
"Mode": ${fake.random.boolean()},
|
||||
"Mode": "${fake.helpers.randomize(['', 'direct', 'transparent'])}",
|
||||
"DestinationServiceName": "${location.pathname.slice(4)}"
|
||||
${ location.pathname.slice(4) === "service-0" ? `
|
||||
,
|
||||
|
|
Loading…
Reference in New Issue