fix typo error

This commit is contained in:
yj 2017-06-30 22:53:27 +08:00
parent 447d0fc7f5
commit 1b37e7fcd9

View File

@ -63,5 +63,5 @@ func DisableSampling(v bool) {
}
func samplingDisabled() bool {
return atomic.LoadUint32(gLevel) == 1
return atomic.LoadUint32(disableSampling) == 1
}