Skip to content

Commit

Permalink
use proper capitalization of logrus
Browse files Browse the repository at this point in the history
The actual capitalization for the logrus repo is github.com/Sirupsen/logrus. If you change it in your package, you will screw up anyone that imports your package from a case-sensitive filesystem (and tools like dep will complain, too).
  • Loading branch information
natefinch authored Sep 19, 2017
1 parent f200fd8 commit cf7e491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
log "github.com/sirupsen/logrus"
log "github.com/Sirupsen/logrus"
)

var defaultMetricPath = "/metrics"
Expand Down

0 comments on commit cf7e491

Please sign in to comment.