MCPcopy Create free account
hub / github.com/containerd/cgroups / attemptFailedUnitReset

Function attemptFailedUnitReset

cgroup2/manager.go:1128–1135  ·  view source on GitHub ↗
(conn *systemdDbus.Conn, group string)

Source from the content-addressed store, hash-verified

1126}
1127
1128func attemptFailedUnitReset(conn *systemdDbus.Conn, group string) {
1129 ctx := context.TODO()
1130 err := conn.ResetFailedUnitContext(ctx, group)
1131
1132 if err != nil {
1133 log.G(ctx).Warnf("Unable to reset failed unit: %v", err)
1134 }
1135}
1136
1137func LoadSystemd(slice, group string) (*Manager, error) {
1138 if slice == "" {

Callers 1

startUnitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…