Fix copy and paste error within naming

This commit is contained in:
Thomas Boerger
2019-12-05 13:22:00 +01:00
parent be4c6b8a44
commit 06f8b78a70

View File

@@ -78,7 +78,7 @@ func Pprof(p bool) Option {
// Zpages provides a function to set the zpages option.
func Zpages(z bool) Option {
return func(o *Options) {
o.Pprof = z
o.Zpages = z
}
}