[DO-NOT-MERGE] Test pid cgroup join issue flake

This PR is just for testing and verification related to the issue #1196

Signed-off-by: vikaschoudhary16 <choudharyvikas16@gmail.com>
This commit is contained in:
vikaschoudhary16 2017-12-05 06:11:18 -05:00
parent 85f303f3ff
commit 00358368b6

View file

@ -288,6 +288,9 @@ func (m *Manager) Apply(pid int) error {
}
}
m.mu.Lock()
defer m.mu.Unlock()
if _, err := theConn.StartTransientUnit(unitName, "replace", properties, nil); err != nil && !isUnitExists(err) {
return err
}