Skip to content

Commit

Permalink
change: [M3-7856] - Update ACLB Match Condition Tooltips and Placehol…
Browse files Browse the repository at this point in the history
…ders (#10271)

* use correct format for placeholders and tooltips

* Added changeset: Update ACLB Match Condition Tooltips and Placeholders

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
  • Loading branch information
bnussman-akamai and bnussman authored Mar 12, 2024
1 parent 9917c8e commit b2c985c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10271-changed-1710174159065.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Changed
---

Update ACLB Match Condition Tooltips and Placeholders ([#10271](https://github.com/linode/manager/pull/10271))
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const ROUTE_COPY = {
'For TCP load balancers, a rule consists of service targets and the percentage of incoming requests that should be directed to each target. Add as many service targets as required, but the percentages for all targets must total 100%.',
},
MatchValue: {
header: 'The format for http header is: X-name:value.',
header: 'The format for http header is: X-name=value.',
method: 'The request methods include: DELETE, GET, HEAD, POST, and PUT.',
path_prefix:
'The format of the path rule is: /pathname1/pathame2. The initial slash is required, but the trailing slash is not.',
Expand All @@ -39,8 +39,7 @@ export const ROUTE_COPY = {
<Code>/path/.*[.]jpg</Code>. Initial slash is required.
</>
),
query:
'The format for query string is: ?name=value. The query string name must be preceded by a question mark (?).',
query: 'The format for query string is: name=value.',
},
Stickiness: {
Cookie:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export const matchValuePlaceholder: Record<
CustomerFacingMatchFieldOption,
string
> = {
header: 'x-my-header:this',
header: 'x-my-header=this',
method: 'POST',
path_prefix: '/my-path',
path_regex: '/path/.*[.](jpg)',
query: '?my-query-param=this',
query: 'my-query-param=this',
};

export const matchTypeOptions = Object.keys(matchFieldMap).map(
Expand Down

0 comments on commit b2c985c

Please sign in to comment.