Skip to content

Commit 3700109

Browse files
committed
Fix compilation failure
1 parent c2d5dec commit 3700109

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmd/diff/cmddiff.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ func Initialize(o *diff.DiffOptions, f util.Factory, args []string) (func(), err
7373
}
7474
o.FilenameOptions = filenameFlags.ToOptions()
7575

76-
o.OpenAPISchema, err = f.OpenAPISchema()
77-
if err != nil {
78-
return cleanupFunc, err
79-
}
76+
o.OpenAPIGetter = f
8077

8178
o.DynamicClient, err = f.DynamicClient()
8279
if err != nil {

0 commit comments

Comments
 (0)