Skip to content

Commit 5eb0ad7

Browse files
committed
add comment
Signed-off-by: xhe <[email protected]>
1 parent 3f79373 commit 5eb0ad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/meta/model/table.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1444,8 +1444,9 @@ func (t *TTLInfo) GetJobInterval() (time.Duration, error) {
14441444

14451445
// SoftdeleteInfo records the Softdelete config.
14461446
type SoftdeleteInfo struct {
1447-
Enable bool `json:"enable"`
14481447
Retention string `json:"retention"`
1448+
// JobEnable is used to control the cleanup JobEnable
1449+
JobEnable bool `json:"job_enable"`
14491450
JobInterval string `json:"job_interval"`
14501451
}
14511452

0 commit comments

Comments
 (0)