Skip to content

Commit 77ff7b9

Browse files
committedJun 17, 2020
Generator: Tests: Improve the handling of unsupported features
(cherry picked from commit 3e398ad)
1 parent 2cd5808 commit 77ff7b9

File tree

1 file changed

+1
-7
lines changed
  • internal/cmd/generate/commands/gentests

1 file changed

+1
-7
lines changed
 

‎internal/cmd/generate/commands/gentests/model.go

+1-7
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,7 @@ func NewAction(payload interface{}) Action {
230230
switch k {
231231
case "catch":
232232
a.catch = v.(string)
233-
case "warnings":
234-
// TODO
235-
continue
236-
case "allowed_warnings":
237-
// TODO
238-
continue
239-
case "node_selector":
233+
case "warnings", "allowed_warnings", "node_selector", "arbitrary_key":
240234
continue
241235
case "headers":
242236
for kk, vv := range v.(map[interface{}]interface{}) {

0 commit comments

Comments
 (0)
Please sign in to comment.