Skip to content

Commit

Permalink
allow empty installation id (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyaug authored Nov 26, 2020
1 parent 04e6499 commit 90600f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions stats/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ func (s *HTTPSender) UpdateMetadata(ctx context.Context, m Metadata) error {
}

func (s *HTTPSender) SendEvent(ctx context.Context, installationID, processID string, metrics []Metric) error {
if len(installationID) == 0 {
return ErrNoInstallationID
}

event := &InputEvent{
InstallationID: installationID,
ProcessID: processID,
Expand Down

0 comments on commit 90600f9

Please sign in to comment.