Skip to content

Commit

Permalink
Removed var
Browse files Browse the repository at this point in the history
  • Loading branch information
Excaleo authored and irisgve committed Oct 14, 2020
1 parent 81f7f17 commit f44f976
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exporter/kinesisexporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ func newKinesisExporter(c *Config, logger *zap.Logger) (*Exporter, error) {
return nil, err
}
client := kinesis.New(sess)
var pr = producer.New(&producer.Config{

pr := producer.New(&producer.Config{
Client: client,
StreamName: c.AWS.StreamName,
// KPL parameters
Expand Down

0 comments on commit f44f976

Please sign in to comment.