Skip to content

Commit c1e77d0

Browse files
Shannonroboquat
authored andcommitted
[ws-daemon] reduce noisy error to warning
1 parent be8f9e3 commit c1e77d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ws-daemon/pkg/cgroup/plugin_iolimit_v2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (c *IOLimiterV2) Apply(ctx context.Context, opts *PluginOptions) error {
6262

6363
_, err := v2.NewManager(opts.BasePath, filepath.Join("/", opts.CgroupPath), c.limits)
6464
if err != nil {
65-
log.WithError(err).WithField("basePath", opts.BasePath).WithField("cgroupPath", opts.CgroupPath).WithField("limits", c.limits).Error("cannot write IO limits")
65+
log.WithError(err).WithField("basePath", opts.BasePath).WithField("cgroupPath", opts.CgroupPath).WithField("limits", c.limits).Warn("cannot write IO limits")
6666
}
6767

6868
for {

0 commit comments

Comments
 (0)