Skip to content

Commit

Permalink
Fix iopts param
Browse files Browse the repository at this point in the history
  • Loading branch information
arnikola committed Jun 29, 2020
1 parent cf91579 commit f45b6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collector/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func Run(runOpts RunOptions) {
logger.Fatal("could not create etcd client", zap.Error(err))
}

serveOptions := serve.NewOptions(instrumentOptions)
serveOptions := serve.NewOptions(instrumentOpt)
for i, transform := range runOpts.AggregatorServerOptions {
if opts, err := transform(serveOptions); err != nil {
logger.Fatal("could not apply transform",
Expand Down

0 comments on commit f45b6d0

Please sign in to comment.