feat: complete daemon operations and recovery tooling
This commit is contained in:
@@ -451,7 +451,7 @@ func (e *fakeEngine) ContainerLogs(context.Context, string) (io.ReadCloser, erro
|
||||
}
|
||||
|
||||
// StopContainer 实现容器引擎的 StopContainer,将指定容器标记为已退出状态,不存在时返回 ErrNotFound。
|
||||
func (e *fakeEngine) StopContainer(_ context.Context, name string) error {
|
||||
func (e *fakeEngine) StopContainer(_ context.Context, name string, _ int) error {
|
||||
e.mu.Lock()
|
||||
defer e.mu.Unlock()
|
||||
record, exists := e.containers[name]
|
||||
|
||||
Reference in New Issue
Block a user