diff options
Diffstat (limited to 'internal/db/milestone.go')
-rw-r--r-- | internal/db/milestone.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/milestone.go b/internal/db/milestone.go index 0d005205..0166a2da 100644 --- a/internal/db/milestone.go +++ b/internal/db/milestone.go @@ -134,7 +134,7 @@ func NewMilestone(m *Milestone) (err error) { var _ errutil.NotFound = (*ErrMilestoneNotExist)(nil) type ErrMilestoneNotExist struct { - args map[string]interface{} + args map[string]any } func IsErrMilestoneNotExist(err error) bool { @@ -159,7 +159,7 @@ func getMilestoneByRepoID(e Engine, repoID, id int64) (*Milestone, error) { if err != nil { return nil, err } else if !has { - return nil, ErrMilestoneNotExist{args: map[string]interface{}{"repoID": repoID, "milestoneID": id}} + return nil, ErrMilestoneNotExist{args: map[string]any{"repoID": repoID, "milestoneID": id}} } return m, nil } |