mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 02:38:17 +08:00
fix update service probe error bug
This commit is contained in:
parent
4a0c171dbc
commit
7507b5c6f8
@ -58,6 +58,7 @@ func (t *ServiceProbeDaoImpl) UpdateModel(mo model.Interface) error {
|
||||
return gorm.ErrRecordNotFound
|
||||
}
|
||||
probe.ID = oldProbe.ID
|
||||
probe.CreatedAt = oldProbe.CreatedAt
|
||||
}
|
||||
return t.DB.Save(probe).Error
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user