Merge pull request #1932 from haiyanmeng/fix

Avoid processing the nil pointer returned by kustomizationResultAdapter
This commit is contained in:
Kubernetes Prow Robot
2019-12-11 14:22:32 -08:00
committed by GitHub

View File

@@ -193,7 +193,9 @@ func processQuery(ctx context.Context, gcl GhClient, query string,
errs = append(errs, err) errs = append(errs, err)
errorCnt++ errorCnt++
} }
if k != nil {
output <- k output <- k
}
totalCnt++ totalCnt++
} }