Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix some comments
  • Loading branch information
ecrupper committed Sep 22, 2022
commit ff2f36f14cf1e50a1967a579c3108d1f959bac39
2 changes: 1 addition & 1 deletion scm/github/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/go-vela/types/library"
)

// GetOrg gets repo information from Github.
// GetOrgName gets org name from Github.
func (c *client) GetOrgName(u *library.User, o string) (string, error) {
c.Logger.WithFields(logrus.Fields{
"org": o,
Expand Down
2 changes: 1 addition & 1 deletion scm/github/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (c *client) GetRepo(u *library.User, r *library.Repo) (*library.Repo, error
return toLibraryRepo(*repo), nil
}

// IsRepo checks to see if repo exists in GitHub.
// GetRepoName returns the name of the repository in the SCM.
func (c *client) GetRepoName(u *library.User, o string, r string) (string, error) {
c.Logger.WithFields(logrus.Fields{
"org": o,
Expand Down