mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 20:17:21 +00:00
finish create issue with milestone
This commit is contained in:
@ -267,7 +267,8 @@ func (err ErrLabelNotExist) Error() string {
|
||||
// \/ \/ \/ \/ \/
|
||||
|
||||
type ErrMilestoneNotExist struct {
|
||||
ID int64
|
||||
ID int64
|
||||
RepoID int64
|
||||
}
|
||||
|
||||
func IsErrMilestoneNotExist(err error) bool {
|
||||
@ -276,5 +277,5 @@ func IsErrMilestoneNotExist(err error) bool {
|
||||
}
|
||||
|
||||
func (err ErrMilestoneNotExist) Error() string {
|
||||
return fmt.Sprintf("milestone does not exist [id: %d]", err.ID)
|
||||
return fmt.Sprintf("milestone does not exist [id: %d, repo_id: %d]", err.ID, err.RepoID)
|
||||
}
|
||||
|
Reference in New Issue
Block a user