Don't return a nil array and a nil error if the Tags endpoint cannot be found
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>master
							parent
							
								
									b8a1ec4155
								
							
						
					
					
						commit
						9fb5fe4fbb
					
				| 
						 | 
				
			
			@ -211,8 +211,6 @@ func (ms *manifests) Tags() ([]string, error) {
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
		return tagsResponse.Tags, nil
 | 
			
		||||
	} else if resp.StatusCode == http.StatusNotFound {
 | 
			
		||||
		return nil, nil
 | 
			
		||||
	}
 | 
			
		||||
	return nil, handleErrorResponse(resp)
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue