about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cache.go2
-rw-r--r--post.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cache.go b/cache.go
index 4f6b90e..0a22f55 100644
--- a/cache.go
+++ b/cache.go
@@ -58,7 +58,7 @@ func refreshCache() {
 	// to add locally.
 	remoteRegistries.Mu.RLock()
 	for _, v := range remoteRegistries.List {
-		err := twtxtCache.ScrapeRemoteRegistry(v)
+		err := twtxtCache.CrawlRemoteRegistry(v)
 		if err != nil {
 			log.Printf("Error while refreshing local copy of remote registry user data: %v\n", err)
 		}
diff --git a/post.go b/post.go
index 103c254..21b3286 100644
--- a/post.go
+++ b/post.go
@@ -39,7 +39,7 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 		remoteRegistries.List = append(remoteRegistries.List, urls)
 		remoteRegistries.Mu.Unlock()
 
-		if err := twtxtCache.ScrapeRemoteRegistry(urls); err != nil {
+		if err := twtxtCache.CrawlRemoteRegistry(urls); err != nil {
 			log400(w, r, err.Error())
 			return
 		}