Use correct variable in logs
This commit is contained in:
parent
07da911b05
commit
4fee11b591
2
main.go
2
main.go
|
@ -57,7 +57,7 @@ type HatsSite struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func getSite(domainName string, wd selenium.WebDriver) (hatsSite HatsSite) {
|
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.DomainName = domainName
|
||||||
hatsSite.FetchTime = time.Now()
|
hatsSite.FetchTime = time.Now()
|
||||||
|
|
Loading…
Reference in a new issue