From e3cf522565010fe371f9d8c65b0f8fa5fffc7ce7 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Sun, 9 Apr 2023 22:40:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20iptables=20=E5=A4=B1=E8=B4=A5=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#551)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/docker.go b/backend/app/service/docker.go index e1cd5113b..cb41b7696 100644 --- a/backend/app/service/docker.go +++ b/backend/app/service/docker.go @@ -138,7 +138,7 @@ func (u *DockerService) UpdateConf(req dto.DaemonJsonConf) error { if req.IPTables { delete(deamonMap, "iptables") } else { - deamonMap["live-restore"] = false + deamonMap["iptables"] = false } if opts, ok := deamonMap["exec-opts"]; ok { if optsValue, isArray := opts.([]interface{}); isArray {