Skip to content

Commit

Permalink
rm unnecessary method
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Jul 22, 2020
1 parent a7a716a commit 8fd3f2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions internal/relayenv/env_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"time"

"github.com/launchdarkly/ld-relay/v6/internal/events"
"github.com/launchdarkly/ld-relay/v6/internal/metrics"
"github.com/launchdarkly/ld-relay/v6/sdkconfig"
"gopkg.in/launchdarkly/go-sdk-common.v2/ldlog"
"gopkg.in/launchdarkly/go-sdk-common.v2/ldvalue"
Expand Down Expand Up @@ -45,9 +44,6 @@ type EnvContext interface {
// GetHandlers returns the HTTP handlers for servicing requests for this environment.
GetHandlers() ClientHandlers

// GetMetricsEnvironment returns the metrics.EnvironmentManager associated with this environment.
GetMetricsEnvironment() *metrics.EnvironmentManager

// GetMetricsContext returns the Context that should be used for OpenCensus operations related to this
// environment.
GetMetricsContext() context.Context
Expand Down
4 changes: 0 additions & 4 deletions internal/relayenv/env_context_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,6 @@ func (c *envContextImpl) GetHandlers() ClientHandlers {
return c.handlers
}

func (c *envContextImpl) GetMetricsEnvironment() *metrics.EnvironmentManager {
return c.metricsEnv
}

func (c *envContextImpl) GetMetricsContext() context.Context {
if c.metricsEnv == nil {
return context.Background()
Expand Down

0 comments on commit 8fd3f2f

Please sign in to comment.