Add remove method to subsystems

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-04-18 22:17:31 -07:00
parent bb89b83c68
commit 810cf722cc
9 changed files with 45 additions and 18 deletions

View file

@ -14,3 +14,7 @@ func (s *perfEventGroup) Set(d *data) error {
}
return nil
}
func (s *perfEventGroup) Remove(d *data) error {
return removePath(d.path("perf_event"))
}