submitqueue.Run: copy series into result object after loading them from gerrit
So we have them in the history later.
This commit is contained in:
		
							parent
							
								
									87d09f6163
								
							
						
					
					
						commit
						91deabe4b3
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -214,6 +214,12 @@ func (s *SubmitQueue) Run(fetchOnly bool) *Result { | |||
| 		r.Error = err | ||||
| 		return r | ||||
| 	} | ||||
| 
 | ||||
| 	// copy series to result object | ||||
| 	for _, serie := range s.Series { | ||||
| 		r.Series = append(r.Series, *serie) | ||||
| 	} | ||||
| 
 | ||||
| 	if len(s.Series) == 0 { | ||||
| 		// Nothing to do! | ||||
| 		log.Warn("Nothing to do here") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue