Fix bug causing outdated PIS data to be marked as valid
This commit is contained in:
		
							parent
							
								
									f85a3da50e
								
							
						
					
					
						commit
						c6328acb1c
					
				| @ -56,7 +56,7 @@ func Check() { | |||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if oldMetadata != nil { | 	if oldMetadata != nil { | ||||||
| 		if oldMetadata.LastVersion != apiResp.Name { | 		if oldMetadata.LastVersion == apiResp.Name { | ||||||
| 			log.Info("PIS Data is up to date") | 			log.Info("PIS Data is up to date") | ||||||
| 			return | 			return | ||||||
| 		} | 		} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user