Fixed golangci-lint issues: /fission/pkg/router (#1831)

This commit is contained in:
Gaurav Gahlot
2020-11-03 16:15:50 +05:30
committed by GitHub
parent 2f23120a64
commit aaf9f18d93
11 changed files with 77 additions and 49 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ type mutableRouter struct {
router atomic.Value // mux.Router
}
func NewMutableRouter(logger *zap.Logger, handler *mux.Router) *mutableRouter {
func newMutableRouter(logger *zap.Logger, handler *mux.Router) *mutableRouter {
mr := mutableRouter{
logger: logger.Named("mutable_router"),
}