You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I parse a yaml file which contains regex with escape characters into json format on s390x platform,
Note that any how to questions should be posted in the discussion board and not raised as an issue.
divisor:
anyOf:
- type: integer
- type: string
description: Specifies the output format of the exposed resources, defaults to "1"
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
** On x86**
version: v4.44.2
Platform: x86
input yaml:-
divisor:
anyOf:
- type: integer
- type: string
description: Specifies the output format of the exposed resources, defaults to "1"
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
Weird - I'm not doing anything special for s390x other than using the go-compiler to build the binary. So you're saying it produces a different JSON output to the x86 binary?
Describe the bug
When I parse a yaml file which contains regex with escape characters into json format on s390x platform,
Note that any how to questions should be posted in the discussion board and not raised as an issue.
**On s390x:- **
version: v4.44.2
Platform: s390x
input yaml:-
Parsed line from yq in s390x is
Actual Output:-
** On x86**
version: v4.44.2
Platform: x86
input yaml:-
command:
Output
In x86 there is no issue. But only in s390x the yaml with escape charecters is not parsed as expected
Command
The command you ran:
Actual behavior
Expected behavior
The text was updated successfully, but these errors were encountered: