Skip to content

Commit

Permalink
fix: FIELDS argument should be enum
Browse files Browse the repository at this point in the history
Signed-off-by: Rueian <[email protected]>
  • Loading branch information
j178 authored and rueian committed Jun 16, 2024
1 parent 57085c2 commit 8ed524a
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 93 deletions.
45 changes: 27 additions & 18 deletions hack/cmds/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -2873,8 +2873,9 @@
]
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand Down Expand Up @@ -2930,8 +2931,9 @@
]
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand All @@ -2956,8 +2958,9 @@
"key_spec_index": 0
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand Down Expand Up @@ -3114,8 +3117,9 @@
"key_spec_index": 0
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand Down Expand Up @@ -3171,8 +3175,9 @@
]
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand Down Expand Up @@ -3228,8 +3233,9 @@
]
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand All @@ -3254,8 +3260,9 @@
"key_spec_index": 0
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand All @@ -3280,8 +3287,9 @@
"key_spec_index": 0
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand Down Expand Up @@ -3430,8 +3438,9 @@
"key_spec_index": 0
},
{
"name": "FIELDS",
"type": "string"
"name": "fields",
"type": "enum",
"enum": ["FIELDS"]
},
{
"name": "numfields",
Expand Down
100 changes: 50 additions & 50 deletions internal/cmds/gen_hash.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8ed524a

Please sign in to comment.