Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-08-23 17:15:10 +0300
committerNick Thomas <nick@gitlab.com>2018-08-23 17:15:10 +0300
commit08ce3b131151b847b3dd41535c016920a5937bf8 (patch)
treef15ff413bf8572eb6f8206bc9731724a84691c46 /internal/domain
parent980dae3a54b5d0f2a07374473bc23618b6ad5c8f (diff)
dm.Map#ReadGroups never returns an error
Diffstat (limited to 'internal/domain')
-rw-r--r--internal/domain/map.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/domain/map.go b/internal/domain/map.go
index a2c49317..30a8a74d 100644
--- a/internal/domain/map.go
+++ b/internal/domain/map.go
@@ -119,7 +119,7 @@ type jobResult struct {
}
// ReadGroups walks the pages directory and populates dm with all the domains it finds.
-func (dm Map) ReadGroups(rootDomain string, fis godirwalk.Dirents) error {
+func (dm Map) ReadGroups(rootDomain string, fis godirwalk.Dirents) {
fanOutGroups := make(chan string)
fanIn := make(chan jobResult)
wg := &sync.WaitGroup{}
@@ -170,7 +170,6 @@ func (dm Map) ReadGroups(rootDomain string, fis godirwalk.Dirents) error {
close(fanOutGroups)
<-done
- return nil
}
const (