diff options
Diffstat (limited to 'adapter/statsclient/statseg_v1.go')
-rw-r--r-- | adapter/statsclient/statseg_v1.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/adapter/statsclient/statseg_v1.go b/adapter/statsclient/statseg_v1.go index e9e8331..efd487e 100644 --- a/adapter/statsclient/statseg_v1.go +++ b/adapter/statsclient/statseg_v1.go @@ -93,7 +93,7 @@ func (ss *statSegmentV1) GetEpoch() (int64, bool) { return sh.epoch, sh.inProgress != 0 } -func (ss *statSegmentV1) CopyEntryData(segment dirSegment) adapter.Stat { +func (ss *statSegmentV1) CopyEntryData(segment dirSegment, _ uint32) adapter.Stat { dirEntry := (*statSegDirectoryEntryV1)(segment) dirType := adapter.StatType(dirEntry.directoryType) @@ -214,6 +214,9 @@ func (ss *statSegmentV1) CopyEntryData(segment dirSegment) adapter.Stat { case statDirEmpty: // no-op + case statDirSymlink: + debugf("Symlinks are not supported for stats v1") + default: // TODO: monitor occurrences with metrics debugf("Unknown type %d for stat entry: %q", dirEntry.directoryType, dirEntry.name) |