Use correct variable in logs

This commit is contained in:
Chandler Swift 2021-10-18 23:02:02 -05:00
parent 07da911b05
commit 4fee11b591
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -57,7 +57,7 @@ type HatsSite struct {
}
func getSite(domainName string, wd selenium.WebDriver) (hatsSite HatsSite) {
log.Printf("Retrieving info for %v\n", hatsSite.DomainName)
log.Printf("Retrieving info for %v\n", domainName)
hatsSite.DomainName = domainName
hatsSite.FetchTime = time.Now()