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

@@ -98,7 +98,7 @@ func buildServer() (*restapi.Server, error) {
return nil, err
}
api := operations.NewConsoleAPI(swaggerSpec, nil)
api := operations.NewConsoleAPI(swaggerSpec)
api.Logger = restapi.LogInfo
server := restapi.NewServer(api)