We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 991e5ae commit 8ca35c7Copy full SHA for 8ca35c7
libcontainer/cgroups/systemd/apply_systemd.go
@@ -17,7 +17,6 @@ import (
17
"github.com/opencontainers/runc/libcontainer/cgroups"
18
"github.com/opencontainers/runc/libcontainer/cgroups/fs"
19
"github.com/opencontainers/runc/libcontainer/configs"
20
- "github.com/sirupsen/logrus"
21
)
22
23
type Manager struct {
@@ -301,11 +300,7 @@ func (m *Manager) Apply(pid int) error {
301
300
return err
302
}
303
304
- select {
305
- case <-statusChan:
306
- case <-time.After(time.Second):
307
- logrus.Warnf("Timed out while waiting for StartTransientUnit completion signal from dbus. Continuing...")
308
- }
+ <-statusChan
309
310
if err := joinCgroups(c, pid); err != nil {
311
0 commit comments