Merge pull request #246 from Bwko/fix/typo

Fix typos
This commit is contained in:
Thomas Boerger 2016-11-25 12:54:57 +01:00 committed by GitHub
commit e9c6053b86
3 changed files with 8 additions and 8 deletions

View file

@ -52,7 +52,7 @@ func (f *MigrateRepoForm) Validate(ctx *macaron.Context, errs binding.Errors) bi
}
// ParseRemoteAddr checks if given remote address is valid,
// and returns composed URL with needed username and passowrd.
// and returns composed URL with needed username and password.
// It also checks if given user has permission when remote address
// is actually a local path.
func (f MigrateRepoForm) ParseRemoteAddr(user *models.User) (string, error) {