Skip to content

Commit

Permalink
do the thing that was the whole point
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <[email protected]>
  • Loading branch information
crenshaw-dev committed Jun 25, 2024
1 parent f4b2a47 commit 1957d97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/utils/kube/uniqueprotomodels.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func newUniqueModels(models proto.Models) (proto.Models, []string) {
_, ok := gvks[gvk]
if ok {
warnings = append(warnings, fmt.Sprintf("encountered duplicate OpenAPI model %v for GVK %v", modelName, gvk))
continue
}
gvks[gvk] = modelName
um.models[modelName] = model
Expand Down

0 comments on commit 1957d97

Please sign in to comment.