aboutsummaryrefslogtreecommitdiff
path: root/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'provider.go')
-rw-r--r--provider.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/provider.go b/provider.go
index cc1c46c..91f91e4 100644
--- a/provider.go
+++ b/provider.go
@@ -235,8 +235,8 @@ func (p *Provider) queryStatus(url string) (bool, error) {
return false, err
}
log.Println("status", r.Status)
- if r.Error != nil {
- return false, r.Error
+ if r.Err != nil {
+ return false, r.Err
}
return r.Status == StatusValid, nil
}