fix locker issues

This commit is contained in:
Aiden McClelland
2021-09-27 15:28:33 -06:00
committed by Aiden McClelland
parent d92bccdc45
commit 28c2965596
4 changed files with 17 additions and 7 deletions

View File

@@ -351,7 +351,8 @@ impl Manager {
.await
{
Err(bollard::errors::Error::DockerResponseNotFoundError { .. })
| Err(bollard::errors::Error::DockerResponseConflictError { .. }) => (), // Already stopped
| Err(bollard::errors::Error::DockerResponseConflictError { .. })
| Err(bollard::errors::Error::DockerResponseNotModifiedError { .. }) => (), // Already stopped
a => a?,
};
self.shared.status.store(
@@ -413,7 +414,8 @@ impl Manager {
.await
{
Err(bollard::errors::Error::DockerResponseNotFoundError { .. })
| Err(bollard::errors::Error::DockerResponseConflictError { .. }) => (),
| Err(bollard::errors::Error::DockerResponseConflictError { .. })
| Err(bollard::errors::Error::DockerResponseNotModifiedError { .. }) => (), // Already stopped
a => a?,
};
self.shared.status.store(