Skip to content

Commit

Permalink
[receiver/fluentforward] fix errcheck for fluentforwardreceiver (#12123)
Browse files Browse the repository at this point in the history
fix errcheck for fluentforwardreceiver

Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
  • Loading branch information
fatsheep9146 authored Jul 6, 2022
1 parent bb656a1 commit c55ed9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions receiver/fluentforwardreceiver/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// nolint:errcheck
package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver"

import (
Expand Down Expand Up @@ -60,7 +59,7 @@ func (c *Collector) processEvents(ctx context.Context) {
buffered = fillBufferUntilChanEmpty(c.eventCh, buffered)

logs := collectLogRecords(buffered)
c.nextConsumer.ConsumeLogs(ctx, logs)
_ = c.nextConsumer.ConsumeLogs(ctx, logs)
}
}
}
Expand Down

0 comments on commit c55ed9c

Please sign in to comment.