mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08: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