Run goimports

This commit is contained in:
Haiyan Meng
2019-12-17 12:31:23 -08:00
parent bef157d6b3
commit a35f002139
3 changed files with 6 additions and 4 deletions

View File

@@ -8,9 +8,10 @@ import (
"fmt"
"log"
"os"
"sigs.k8s.io/kustomize/api/internal/crawl/index"
"sync"
"sigs.k8s.io/kustomize/api/internal/crawl/index"
_ "github.com/gomodule/redigo/redis"
"sigs.k8s.io/kustomize/api/internal/crawl/doc"
@@ -138,7 +139,7 @@ func doCrawl(ctx context.Context, docsPtr *CrawlSeed, crawlers []Crawler, conv C
FetchDocumentErrCount++
// delete the document from the index
cdoc := &doc.KustomizationDocument{
Document: *tail,
Document: *tail,
}
seen[cdoc.ID()] = struct{}{}
if err := indx(cdoc, match, index.Delete); err != nil {