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 }