Skip to content

Commit 6926d41

Browse files
committed
Remove case for *common.Payload
1 parent 4f1e5c8 commit 6926d41

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

cmd/proxygenerator/interceptor.go

-5
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,6 @@ func visitPayloads(
211211
ctx.SinglePayloadRequired = false
212212
213213
switch o := obj.(type) {
214-
case *common.Payload:
215-
if o == nil { continue }
216-
no, err := visitPayload(ctx, options, parent, o)
217-
if err != nil { return err }
218-
objs[i] = no
219214
case map[string]*common.Payload:
220215
for ix, x := range o {
221216
if nx, err := visitPayload(ctx, options, parent, x); err != nil {

proxy/interceptor.go

-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)