From 97e6e80d5a981cdcc8d534495fa77841ef392245 Mon Sep 17 00:00:00 2001 From: coward Date: Fri, 7 Jun 2024 11:59:44 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=E4=BF=AE=E5=A4=8D=E4=B8=8D=E5=8F=AF?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=9C=8D=E5=8A=A1=E7=AB=AF=E5=AF=86=E9=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repository/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repository/server.go b/repository/server.go index fd6e756..7ed64e5 100644 --- a/repository/server.go +++ b/repository/server.go @@ -59,6 +59,8 @@ func (r server) Update(p param.SaveServer) (err error) { "post_up_script": p.PostUpScript, "pre_down_script": p.PreDownScript, "post_down_script": p.PostDownScript, + "private_key": p.PrivateKey, + "public_key": p.PublicKey, } return r.Model(&entity.Server{}).Where("id = ?", p.Id).Updates(&update).Error }