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.LastVersion != apiResp.Name { | ||||
| 		if oldMetadata.LastVersion == apiResp.Name { | ||||
| 			log.Info("PIS Data is up to date") | ||||
| 			return | ||||
| 		} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user