mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 11:27:50 +00:00
Add missing argument to Errorf call
This commit is contained in:
parent
0b16a3afb9
commit
64287905bd
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ func NewStatsClient(name string, host string) (pilosa.StatsClient, error) {
|
|||
case "nop", "none":
|
||||
return pilosa.NopStatsClient, nil
|
||||
default:
|
||||
return nil, errors.Errorf("'%v' not a valid stats client, choose from [expvar, statsd, none].")
|
||||
return nil, errors.Errorf("'%v' not a valid stats client, choose from [expvar, statsd, none].", name)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue