Skip to content

Commit

Permalink
cli: fixed lint error (#5877)
Browse files Browse the repository at this point in the history
  • Loading branch information
n0toose authored Oct 28, 2020
1 parent bf466e3 commit ebe6990
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/pkg/console/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ebe6990

Please sign in to comment.