replace deprecated docker types

This commit is contained in:
yusing
2025-02-24 06:10:46 +08:00
parent baebede816
commit 080c1cee4f
3 changed files with 16 additions and 14 deletions

View File

@@ -24,5 +24,5 @@ func (c *SharedClient) Inspect(containerID string) (*Container, error) {
if err != nil {
return nil, err
}
return FromJSON(json, c.key), nil
return FromInspectResponse(json, c.key), nil
}