integration: preserve deployed 1.8.0 OTA work
This commit is contained in:
@@ -169,7 +169,11 @@ impl ContainerRuntime for PodmanRuntime {
|
||||
}
|
||||
|
||||
async fn stop_container_with_grace(&self, name: &str, grace_secs: u64) -> Result<()> {
|
||||
match self.client.stop_container_with_grace(name, grace_secs).await {
|
||||
match self
|
||||
.client
|
||||
.stop_container_with_grace(name, grace_secs)
|
||||
.await
|
||||
{
|
||||
Ok(()) => Ok(()),
|
||||
Err(api_err) => {
|
||||
// CLI fallback. Keep the wrapper deadline strictly above the
|
||||
@@ -897,7 +901,9 @@ impl ContainerRuntime for AutoRuntime {
|
||||
}
|
||||
|
||||
async fn stop_container_with_grace(&self, name: &str, grace_secs: u64) -> Result<()> {
|
||||
self.runtime.stop_container_with_grace(name, grace_secs).await
|
||||
self.runtime
|
||||
.stop_container_with_grace(name, grace_secs)
|
||||
.await
|
||||
}
|
||||
|
||||
async fn remove_container(&self, name: &str) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user