Code Review
/
govpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Recognize stat_dir_type_empty
[govpp.git]
/
adapter
/
statsclient
/
statseg_v2.go
diff --git
a/adapter/statsclient/statseg_v2.go
b/adapter/statsclient/statseg_v2.go
index
68411f9
..
08467c1
100644
(file)
--- a/
adapter/statsclient/statseg_v2.go
+++ b/
adapter/statsclient/statseg_v2.go
@@
-202,6
+202,7
@@
func (ss *statSegmentV2) CopyEntryData(statSegDir unsafe.Pointer) adapter.Stat {
return adapter.NameStat(data)
case statDirEmpty:
+ return adapter.EmptyStat("<none>")
// no-op
default: