Skip to content

Commit

Permalink
removed unused metrics field in api
Browse files Browse the repository at this point in the history
  • Loading branch information
rgynn committed Aug 18, 2021
1 parent 9b76e56 commit f911e58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/api/api.go
Expand Up @@ -7,7 +7,6 @@ import (
"net/http"

"github.com/labstack/echo/v4"
"github.com/prometheus/client_golang/prometheus"
"github.com/rgynn/klottr/pkg/config"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
Expand Down Expand Up @@ -37,7 +36,6 @@ type Service struct {
users user.Repository
misc thread.Repository
comments comment.Repository
metrics prometheus.Collector
}

func NewAPIFromConfig(cfg *config.Config) (*Service, error) {
Expand Down

0 comments on commit f911e58

Please sign in to comment.