bb89b83c68
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
16 lines
310 B
Go
16 lines
310 B
Go
package fs
|
|
|
|
import (
|
|
"github.com/dotcloud/docker/pkg/cgroups"
|
|
)
|
|
|
|
type blkioGroup struct {
|
|
}
|
|
|
|
func (s *blkioGroup) Set(d *data) error {
|
|
// we just want to join this group even though we don't set anything
|
|
if _, err := d.join("blkio"); err != nil && err != cgroups.ErrNotFound {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|