cli: fixed lint error (#5877)

https://github.com/hasura/graphql-engine/pull/5877
This commit is contained in:
Panagiotis Vasilopoulos 2020-10-28 04:18:48 +00:00 committed by GitHub
parent bf466e3b63
commit ebe6990c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,12 +102,14 @@ func (r *APIServer) setConfigVersion(configVersion cli.ConfigVersion) gin.Handle
}
}
/*
func (r *APIServer) setMetadataFile(file string) gin.HandlerFunc {
return func(c *gin.Context) {
c.Set("metadataFile", file)
c.Next()
}
}
*/
func (r *APIServer) setLogger(logger *logrus.Logger) gin.HandlerFunc {
return func(c *gin.Context) {