Skip to content

Commit

Permalink
fix: 修复了执行周期更新失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu committed Mar 31, 2023
1 parent bbe08ed commit 1d5797f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/app/service/cornjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ func (u *CronjobService) Update(id uint, req dto.CronjobUpdate) error {
upMap := make(map[string]interface{})
upMap["entry_id"] = newEntryID
upMap["name"] = req.Name
upMap["spec"] = cronjob.Spec
upMap["script"] = req.Script
upMap["spec_type"] = req.SpecType
upMap["week"] = req.Week
Expand Down

0 comments on commit 1d5797f

Please sign in to comment.