|
@@ -83,9 +83,10 @@ public class RecoveredContainerLaunch extends ContainerLaunch {
|
|
exec.activateContainer(containerId, pidFilePath);
|
|
exec.activateContainer(containerId, pidFilePath);
|
|
retCode = exec.reacquireContainer(
|
|
retCode = exec.reacquireContainer(
|
|
new ContainerReacquisitionContext.Builder()
|
|
new ContainerReacquisitionContext.Builder()
|
|
- .setUser(container.getUser())
|
|
|
|
- .setContainerId(containerId)
|
|
|
|
- .build());
|
|
|
|
|
|
+ .setContainer(container)
|
|
|
|
+ .setUser(container.getUser())
|
|
|
|
+ .setContainerId(containerId)
|
|
|
|
+ .build());
|
|
} else {
|
|
} else {
|
|
LOG.warn("Unable to locate pid file for container " + containerIdStr);
|
|
LOG.warn("Unable to locate pid file for container " + containerIdStr);
|
|
}
|
|
}
|