Fix spelling errors in comments and documentation (#7492)

This commit is contained in:
Josh Soref
2020-05-14 03:41:58 -04:00
committed by GitHub
parent c78045c13f
commit 2c56d6de81
134 changed files with 215 additions and 215 deletions

View File

@@ -254,7 +254,7 @@ func (s *SnmpTrap) lookup(oid string) (e mibEntry, err error) {
defer s.cacheLock.Unlock()
var ok bool
if e, ok = s.cache[oid]; !ok {
// cache miss. exec snmptranlate
// cache miss. exec snmptranslate
e, err = s.snmptranslate(oid)
if err == nil {
s.cache[oid] = e

View File

@@ -84,7 +84,7 @@ func TestReceiveTrap(t *testing.T) {
version gosnmp.SnmpVersion
trap gosnmp.SnmpTrap // include pdus
// recieve
// receive
entries []entry
metrics []telegraf.Metric
}{