X-Git-Url: https://gerrit.fd.io/r/gitweb?p=govpp.git;a=blobdiff_plain;f=adapter%2Fstatsclient%2Fstatseg_v2.go;fp=adapter%2Fstatsclient%2Fstatseg_v2.go;h=11a3679f996a12535ff7b8c0443ac82c25fa31a1;hp=1f8aaeb89c8c6ef1938f6fac2ccf4a5d41f3b34f;hb=833eaf3e97577cab97d6d5eedc5de29a5f862402;hpb=2067f6e5b0611191266c22d29f6e4dcb13f2b4ce diff --git a/adapter/statsclient/statseg_v2.go b/adapter/statsclient/statseg_v2.go index 1f8aaeb..11a3679 100644 --- a/adapter/statsclient/statseg_v2.go +++ b/adapter/statsclient/statseg_v2.go @@ -94,7 +94,7 @@ func (ss *statSegmentV2) CopyEntryData(segment dirSegment, index uint32) adapter dirEntry := (*statSegDirectoryEntryV2)(segment) typ := getStatType(dirEntry.directoryType, ss.getErrorVector() != nil) // skip zero pointer value - if typ != adapter.ScalarIndex && typ != adapter.Empty && dirEntry.unionData == 0 { + if typ != adapter.ScalarIndex && typ != adapter.Empty && typ != adapter.ErrorIndex && dirEntry.unionData == 0 { debugf("data pointer not defined for %s", dirEntry.name) return nil }