Skip to content

Commit

Permalink
Move metrics package to the right place (#560)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant authored Mar 17, 2023
1 parent 07ce2b1 commit d4424b0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/relayproxy/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package api
import (
"fmt"
"github.com/labstack/echo-contrib/prometheus"
"github.com/thomaspoignant/go-feature-flag/cmd/metric"
"github.com/thomaspoignant/go-feature-flag/cmd/relayproxy/metric"
"time"

"github.com/brpaz/echozap"
Expand Down
2 changes: 1 addition & 1 deletion cmd/relayproxy/controller/all_flag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package controller_test
import (
"context"
"github.com/labstack/echo-contrib/prometheus"
"github.com/thomaspoignant/go-feature-flag/cmd/metric"
"github.com/thomaspoignant/go-feature-flag/cmd/relayproxy/metric"
"io"
"io/ioutil"
"log"
Expand Down
2 changes: 1 addition & 1 deletion cmd/relayproxy/controller/all_flags.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package controller

import (
"github.com/thomaspoignant/go-feature-flag/cmd/metric"
"github.com/thomaspoignant/go-feature-flag/cmd/relayproxy/metric"
"net/http"

"github.com/labstack/echo/v4"
Expand Down
2 changes: 1 addition & 1 deletion cmd/relayproxy/controller/flag_eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package controller

import (
"fmt"
"github.com/thomaspoignant/go-feature-flag/cmd/metric"
"github.com/thomaspoignant/go-feature-flag/cmd/relayproxy/metric"
"net/http"

"github.com/labstack/echo/v4"
Expand Down
2 changes: 1 addition & 1 deletion cmd/relayproxy/controller/flag_eval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package controller_test
import (
"context"
"github.com/labstack/echo-contrib/prometheus"
"github.com/thomaspoignant/go-feature-flag/cmd/metric"
"github.com/thomaspoignant/go-feature-flag/cmd/relayproxy/metric"
"io"
"io/ioutil"
"log"
Expand Down
File renamed without changes.

0 comments on commit d4424b0

Please sign in to comment.