Skip to content

Commit f8cf247

Browse files
CLOUDP-308422: addressing follow up comments
1 parent f8e6530 commit f8cf247

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/cli/internal/openapi/filter/sunset.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ func applyOnOperation(op *openapi3.Operation) {
5656
}
5757

5858
for _, content := range response.Value.Content {
59-
if content.Extensions == nil {
60-
continue
61-
}
6259
maps.DeleteFunc(content.Extensions, func(key string, v any) bool {
6360
return v == sunsetToBeDecided
6461
})

0 commit comments

Comments
 (0)