registry: client: repository: close response body
Signed-off-by: Antonio Murdaca <runcom@redhat.com>master
							parent
							
								
									2c635d1f7e
								
							
						
					
					
						commit
						75b5a1b1f6
					
				|  | @ -308,6 +308,7 @@ check: | |||
| 	if err != nil { | ||||
| 		return distribution.Descriptor{}, err | ||||
| 	} | ||||
| 	defer resp.Body.Close() | ||||
| 
 | ||||
| 	switch { | ||||
| 	case resp.StatusCode >= 200 && resp.StatusCode < 400: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue