Merge pull request #842 from milosgajdos83/cache-status
Check cache status error
This commit is contained in:
		
							
								
								
									
										2
									
								
								registry/cache/cache.go
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								registry/cache/cache.go
									
									
									
									
										vendored
									
									
								
							| @@ -144,7 +144,7 @@ func (c *cache) get(service string) ([]*registry.Service, error) { | |||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		// reset the status | 		// reset the status | ||||||
| 		if c.getStatus(); err != nil { | 		if err := c.getStatus(); err != nil { | ||||||
| 			c.setStatus(nil) | 			c.setStatus(nil) | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user