diff --git a/services/repository/create.go b/services/repository/create.go index da39d20801..4091a2efb5 100644 --- a/services/repository/create.go +++ b/services/repository/create.go @@ -265,7 +265,7 @@ func CreateRepositoryDirectly(ctx context.Context, doer, owner *user_model.User, // WARNING: Don't override all later err with local variables defer func() { if err != nil { - // we can not use the ctx because it maybe canceled or timeout + // we can not use the ctx because it may be canceled or timeout cleanupRepository(repo) } }()