repoDescriptor->repoInfo

This commit is contained in:
zach rice committed 2019-03-28 08:06:38 -05:00
1 parent e79ffc6ae8
commit c2143c5843
9 files changed
+23 -28

No files matched your search

+2 -2
View File
@@ -188,7 +188,7 @@ func auditGithubRepos() ([]Leak, error) {
// cloneGithubRepo clones a repo from the url parsed from a github repo. The repo
// will be cloned to disk if --disk is set.
func cloneGithubRepo(githubRepo *github.Repository) (*RepoDescriptor, error) {
func cloneGithubRepo(githubRepo *github.Repository) (*RepoInfo, error) {
var (
repo *git.Repository
err error
@@ -249,7 +249,7 @@ func cloneGithubRepo(githubRepo *github.Repository) (*RepoDescriptor, error) {
if err != nil {
return nil, err
}
return &RepoDescriptor{
return &RepoInfo{
repository: repo,
name: *githubRepo.Name,
}, nil