Skip to content

Commit

Permalink
[v12] usagereporter: enable on-prem user activity reporting (#24433)
Browse files Browse the repository at this point in the history
* Update e ref

* Remove unused function call forward
  • Loading branch information
espadolini committed Apr 12, 2023
1 parent cf4100b commit c1c9e8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion e
Submodule e updated from e929dc to 41d9b6
5 changes: 0 additions & 5 deletions lib/usagereporter/teleport/usagereporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ func (t *StreamingUsageReporter) Run(ctx context.Context) {

type SubmitFunc = usagereporter.SubmitFunc[prehogv1a.SubmitEventRequest]

// TODO(espadolini): change the call in e/lib/prehog/prehog.go:InitPreHogUsageReporting
func NewTeleportUsageReporter(log logrus.FieldLogger, clusterName types.ClusterName, submitter SubmitFunc) (*StreamingUsageReporter, error) {
return NewStreamingUsageReporter(log, clusterName, submitter)
}

func NewStreamingUsageReporter(log logrus.FieldLogger, clusterName types.ClusterName, submitter SubmitFunc) (*StreamingUsageReporter, error) {
if log == nil {
log = logrus.StandardLogger()
Expand Down

0 comments on commit c1c9e8f

Please sign in to comment.