Remove the usage of github access token from the kustomize-stats job

This commit is contained in:
Haiyan Meng
2020-02-04 12:22:30 -08:00
parent a4179fa87f
commit d0602c732b
2 changed files with 1 additions and 11 deletions

View File

@@ -14,11 +14,6 @@ import (
"sigs.k8s.io/kustomize/api/internal/crawl/index"
)
const (
githubAccessTokenVar = "GITHUB_ACCESS_TOKEN"
retryCount = 3
)
// iterateArr adds each item in arr into countMap.
func iterateArr(arr []string, countMap map[string]int) {
for _, item := range arr {