Add missing argument to Errorf call

This commit is contained in:
Cody Soyland 2018-06-13 08:56:14 -05:00
parent 0b16a3afb9
commit 64287905bd

View file

@ -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)
}
}