X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=adapter%2Fstatsclient%2Fstat_segment_api.go;h=2c2950fdb9266ff9ba71c0128fd18c58046086f6;hb=67cea0df30f7ef348e265c9326f7a9f15ba26240;hp=fd7ef36c43e388341e61dadf094c3e910e6afc74;hpb=874266e00029174d6ad512eeac678b0c99512cd7;p=govpp.git diff --git a/adapter/statsclient/stat_segment_api.go b/adapter/statsclient/stat_segment_api.go index fd7ef36..2c2950f 100644 --- a/adapter/statsclient/stat_segment_api.go +++ b/adapter/statsclient/stat_segment_api.go @@ -16,10 +16,11 @@ package statsclient import ( "fmt" - "git.fd.io/govpp.git/adapter" "sync/atomic" "time" "unsafe" + + "go.fd.io/govpp/adapter" ) var ( @@ -77,7 +78,7 @@ type statSegment interface { // // Note that if the index is equal to 0, the result pointer points to // the same memory address as the argument. - GetStatDirOnIndex(v dirVector, index uint32) (dirSegment, dirName, dirType) + GetStatDirOnIndex(v dirVector, index uint32) (dirSegment, dirName, adapter.StatType) // GetEpoch re-loads stats header and returns current epoch //and 'inProgress' value