diff options
Diffstat (limited to 'services/migrations')
-rw-r--r-- | services/migrations/codebase.go | 4 | ||||
-rw-r--r-- | services/migrations/gogs.go | 2 | ||||
-rw-r--r-- | services/migrations/onedev.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/services/migrations/codebase.go b/services/migrations/codebase.go index 8999ee363e..395bc6152e 100644 --- a/services/migrations/codebase.go +++ b/services/migrations/codebase.go @@ -64,7 +64,7 @@ type codebaseUser struct { Email string `json:"email"` } -// CodebaseDownloader implements a Downloader interface to get repository informations +// CodebaseDownloader implements a Downloader interface to get repository information // from Codebase type CodebaseDownloader struct { base.NullDownloader @@ -111,7 +111,7 @@ func NewCodebaseDownloader(ctx context.Context, projectURL *url.URL, project, re return downloader } -// FormatCloneURL add authentification into remote URLs +// FormatCloneURL add authentication into remote URLs func (d *CodebaseDownloader) FormatCloneURL(opts base.MigrateOptions, remoteAddr string) (string, error) { return opts.CloneAddr, nil } diff --git a/services/migrations/gogs.go b/services/migrations/gogs.go index 5a477c542d..e103ef996e 100644 --- a/services/migrations/gogs.go +++ b/services/migrations/gogs.go @@ -254,7 +254,7 @@ func (g *GogsDownloader) GetTopics() ([]string, error) { return []string{}, nil } -// FormatCloneURL add authentification into remote URLs +// FormatCloneURL add authentication into remote URLs func (g *GogsDownloader) FormatCloneURL(opts MigrateOptions, remoteAddr string) (string, error) { if len(opts.AuthToken) > 0 || len(opts.AuthUsername) > 0 { u, err := url.Parse(remoteAddr) diff --git a/services/migrations/onedev.go b/services/migrations/onedev.go index 5d5aaa40f9..bb676131f3 100644 --- a/services/migrations/onedev.go +++ b/services/migrations/onedev.go @@ -69,7 +69,7 @@ type onedevUser struct { Email string `json:"email"` } -// OneDevDownloader implements a Downloader interface to get repository informations +// OneDevDownloader implements a Downloader interface to get repository information // from OneDev type OneDevDownloader struct { base.NullDownloader |