@@ -130,7 +130,7 @@ func allDeployTokenPages(opts *gitlab.ListProjectDeployTokensOptions, fn func()
130
130
}
131
131
}
132
132
133
- // validateUserRepositoryRef makes sure the UserRepositoryRef is valid for GitHub 's usage.
133
+ // validateUserRepositoryRef makes sure the UserRepositoryRef is valid for GitLab 's usage.
134
134
func validateUserRepositoryRef (ref gitprovider.UserRepositoryRef , expectedDomain string ) error {
135
135
// Make sure the RepositoryRef fields are valid
136
136
if err := validation .ValidateTargets ("UserRepositoryRef" , ref ); err != nil {
@@ -140,7 +140,7 @@ func validateUserRepositoryRef(ref gitprovider.UserRepositoryRef, expectedDomain
140
140
return validateIdentityFields (ref , expectedDomain )
141
141
}
142
142
143
- // validateOrgRepositoryRef makes sure the OrgRepositoryRef is valid for GitHub 's usage.
143
+ // validateOrgRepositoryRef makes sure the OrgRepositoryRef is valid for GitLab 's usage.
144
144
func validateOrgRepositoryRef (ref gitprovider.OrgRepositoryRef , expectedDomain string ) error {
145
145
// Make sure the RepositoryRef fields are valid
146
146
if err := validation .ValidateTargets ("OrgRepositoryRef" , ref ); err != nil {
@@ -150,7 +150,7 @@ func validateOrgRepositoryRef(ref gitprovider.OrgRepositoryRef, expectedDomain s
150
150
return validateIdentityFields (ref , expectedDomain )
151
151
}
152
152
153
- // validateUserRef makes sure the UserRef is valid for GitHub 's usage.
153
+ // validateUserRef makes sure the UserRef is valid for GitLab 's usage.
154
154
func validateUserRef (ref gitprovider.UserRef , expectedDomain string ) error {
155
155
// Make sure the OrganizationRef fields are valid
156
156
if err := validation .ValidateTargets ("UserRef" , ref ); err != nil {
@@ -192,7 +192,7 @@ func validateProjectAPI(apiObj *gitlab.Project) error {
192
192
})
193
193
}
194
194
195
- // validateOrganizationRef makes sure the OrganizationRef is valid for GitHub 's usage.
195
+ // validateOrganizationRef makes sure the OrganizationRef is valid for GitLab 's usage.
196
196
func validateOrganizationRef (ref gitprovider.OrganizationRef , expectedDomain string ) error {
197
197
// Make sure the OrganizationRef fields are valid
198
198
if err := validation .ValidateTargets ("OrganizationRef" , ref ); err != nil {
0 commit comments