Skip to content

Commit

Permalink
fix(build): close pkg/apiclient/_.secondary.swagger.json (#12942)
Browse files Browse the repository at this point in the history
Signed-off-by: guangwu <[email protected]>
  • Loading branch information
testwill authored and isubasinghe committed May 7, 2024
1 parent f1af326 commit 0f3a00d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/swagger/secondaryswaggergen.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func secondarySwaggerGen() {
if err != nil {
panic(err)
}
defer f.Close()
e := json.NewEncoder(f)
e.SetIndent("", " ")
err = e.Encode(swagger)
Expand Down

0 comments on commit 0f3a00d

Please sign in to comment.