-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/openapi: rewrite uses of deprecated cue.Value methods
cue.Value.Reference can be rewritten with cue.Value.ReferencePath, and cue.Value.Elem can be rewritten with cue.Value.LookupPath with either cue.AnyString or cue.AnyIndex, depending on whether the value is a struct or a list. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I092707aafe89feb4dbf3e7fd9980f0deb73940a4 Dispatch-Trailer: {"type":"trybot","CL":1206354,"patchset":1,"ref":"refs/changes/54/1206354/1","targetBranch":"master"}
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters