build(deps): bump github.com/intel/goresctrl from 0.5.0 to 0.6.0
Bumps [github.com/intel/goresctrl](https://github.com/intel/goresctrl) from 0.5.0 to 0.6.0. - [Release notes](https://github.com/intel/goresctrl/releases) - [Commits](https://github.com/intel/goresctrl/compare/v0.5.0...v0.6.0) --- updated-dependencies: - dependency-name: github.com/intel/goresctrl dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
6
vendor/github.com/intel/goresctrl/pkg/blockio/oci.go
generated
vendored
6
vendor/github.com/intel/goresctrl/pkg/blockio/oci.go
generated
vendored
@@ -20,8 +20,6 @@ import (
|
||||
"fmt"
|
||||
|
||||
oci "github.com/opencontainers/runtime-spec/specs-go"
|
||||
|
||||
"github.com/intel/goresctrl/pkg/cgroups"
|
||||
)
|
||||
|
||||
// OciLinuxBlockIO returns OCI LinuxBlockIO structure corresponding to the class.
|
||||
@@ -43,7 +41,7 @@ func OciLinuxBlockIO(class string) (*oci.LinuxBlockIO, error) {
|
||||
return &ociBlockio, nil
|
||||
}
|
||||
|
||||
func ociLinuxWeightDevices(dws cgroups.DeviceWeights) []oci.LinuxWeightDevice {
|
||||
func ociLinuxWeightDevices(dws DeviceWeights) []oci.LinuxWeightDevice {
|
||||
if len(dws) == 0 {
|
||||
return nil
|
||||
}
|
||||
@@ -57,7 +55,7 @@ func ociLinuxWeightDevices(dws cgroups.DeviceWeights) []oci.LinuxWeightDevice {
|
||||
return olwds
|
||||
}
|
||||
|
||||
func ociLinuxThrottleDevices(drs cgroups.DeviceRates) []oci.LinuxThrottleDevice {
|
||||
func ociLinuxThrottleDevices(drs DeviceRates) []oci.LinuxThrottleDevice {
|
||||
if len(drs) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user