Remove commented out code
This commit is contained in:
		
							
								
								
									
										18
									
								
								util/util.go
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								util/util.go
									
									
									
									
									
								
							@@ -147,21 +147,3 @@ func Distinct(ss []string) (distincted []string) {
 | 
			
		||||
	}
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// VendorLink returns a URL of the given OS family and CVEID
 | 
			
		||||
//TODO
 | 
			
		||||
//  func VendorLink(family, cveID string) string {
 | 
			
		||||
//      cType := models.NewCveContentType(family)
 | 
			
		||||
//      switch cType {
 | 
			
		||||
//      case models.RedHat:
 | 
			
		||||
//          return "https://access.redhat.com/security/cve/" + cveID
 | 
			
		||||
//      case models.Debian:
 | 
			
		||||
//          return "https://security-tracker.debian.org/tracker/" + cveID
 | 
			
		||||
//      case models.Ubuntu:
 | 
			
		||||
//          return "http://people.ubuntu.com/~ubuntu-security/cve/" + cveID
 | 
			
		||||
//          //  case models.FreeBSD:
 | 
			
		||||
//          //      return "http://people.ubuntu.com/~ubuntu-security/cve/" + cveID
 | 
			
		||||
//      }
 | 
			
		||||
 | 
			
		||||
//      return ""
 | 
			
		||||
//  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user