From: Shengjing Zhu <zhsj@debian.org>
Date: Thu, 4 Feb 2021 16:52:29 +0800
Subject: fix build with runc rc93

---
 resctrl/collector.go | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/resctrl/collector.go b/resctrl/collector.go
index 210156a..f677b8d 100644
--- a/resctrl/collector.go
+++ b/resctrl/collector.go
@@ -26,19 +26,19 @@ import (
 )
 
 type collector struct {
-	resctrl intelrdt.IntelRdtManager
+	resctrl intelrdt.Manager
 	stats.NoopDestroy
 }
 
 func newCollector(id string, resctrlPath string) *collector {
 	collector := &collector{
-		resctrl: intelrdt.IntelRdtManager{
-			Config: &configs.Config{
+		resctrl: intelrdt.NewManager(
+			&configs.Config{
 				IntelRdt: &configs.IntelRdt{},
 			},
-			Id:   id,
-			Path: resctrlPath,
-		},
+			id,
+			resctrlPath,
+		),
 	}
 
 	return collector
