2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

fix: lint

This commit is contained in:
2025-11-14 03:59:03 +08:00
parent c74a6208a1
commit 11303fff63

View File

@@ -84,7 +84,7 @@ func (r *containerImageRepo) Pull(req *request.ContainerImagePull) error {
if err != nil {
return err
}
defer out.Close()
defer func(out client.ImagePullResponse) { _ = out.Close() }(out)
return out.Wait(context.Background())
}