Skip to content

Commit

Permalink
update config to make consumers/producers name optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sigilioso committed Jun 20, 2022
1 parent 93c5b4f commit f52840d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/args/parsed_args.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,6 @@ func unmarshalJMXHosts(data []byte, a *ArgumentList) ([]*JMXHost, error) {

// Set default values
for _, p := range v {
if p.Name == "" {
return nil, errors.New("must specify a name for each producer in the list")
}
if p.User == "" {
p.User = a.DefaultJMXUser
}
Expand Down

0 comments on commit f52840d

Please sign in to comment.