Skip to content

Commit

Permalink
Remove unused GetPublishMetricsTicker method from stats engine
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh09 committed Dec 12, 2024
1 parent dd3ad7e commit 70df020
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions agent/stats/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ type Engine interface {
GetTaskHealthMetrics() (*ecstcs.HealthMetadata, []*ecstcs.TaskHealth, error)
GetPublishServiceConnectTickerInterval() int32
SetPublishServiceConnectTickerInterval(int32)
GetPublishMetricsTicker() *time.Ticker
}

// DockerStatsEngine is used to monitor docker container events and to report
Expand Down Expand Up @@ -1083,10 +1082,6 @@ func (engine *DockerStatsEngine) SetPublishServiceConnectTickerInterval(publishS
engine.publishServiceConnectTickerInterval = publishServiceConnectTickerInterval
}

func (engine *DockerStatsEngine) GetPublishMetricsTicker() *time.Ticker {
return engine.publishMetricsTicker
}

func (engine *DockerStatsEngine) getEBSVolumeMetrics(taskArn string) []*ecstcs.VolumeMetric {
task, err := engine.resolver.ResolveTaskByARN(taskArn)
if err != nil {
Expand Down
15 changes: 0 additions & 15 deletions agent/stats/mock/engine.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 70df020

Please sign in to comment.