summaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers/runc/libcontainer/intelrdt/stats.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/opencontainers/runc/libcontainer/intelrdt/stats.go')
-rw-r--r--vendor/github.com/opencontainers/runc/libcontainer/intelrdt/stats.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/vendor/github.com/opencontainers/runc/libcontainer/intelrdt/stats.go b/vendor/github.com/opencontainers/runc/libcontainer/intelrdt/stats.go
index 70df0d14e..a5eb2541e 100644
--- a/vendor/github.com/opencontainers/runc/libcontainer/intelrdt/stats.go
+++ b/vendor/github.com/opencontainers/runc/libcontainer/intelrdt/stats.go
@@ -1,5 +1,3 @@
-// +build linux
-
package intelrdt
type L3CacheInfo struct {
@@ -54,6 +52,6 @@ type Stats struct {
CMTStats *[]CMTNumaNodeStats `json:"cmt_stats,omitempty"`
}
-func NewStats() *Stats {
+func newStats() *Stats {
return &Stats{}
}