Fix build after swagger codegen (#2201)

This commit is contained in:
Aditya Manthramurthy
2022-07-28 13:20:16 -07:00
committed by GitHub
parent 25f719b0e2
commit 3b11556f4b
8 changed files with 32 additions and 23 deletions

View File

@@ -71,7 +71,7 @@ func initConsoleServer() (*restapi.Server, error) {
restapi.LogInfo = noLog
restapi.LogError = noLog
api := operations.NewConsoleAPI(swaggerSpec, nil)
api := operations.NewConsoleAPI(swaggerSpec)
api.Logger = noLog
server := restapi.NewServer(api)