@@ -117,26 +117,26 @@ type GitHub struct {
117117
118118func (gh * GitHub ) ResourceSyncers (ctx context.Context ) []connectorbuilder.ResourceSyncerV2 {
119119 resourceSyncers := []connectorbuilder.ResourceSyncerV2 {
120- orgBuilder (gh .client , gh .appClient , gh .orgCache , gh .orgs , gh .syncSecrets ),
121- teamBuilder (gh .client , gh .orgCache , gh .directCollaboratorsOnly ),
122- userBuilder (gh .client , gh .graphqlClient , gh .orgCache , gh .orgs , gh .customClient , gh .enterprises ),
123- repositoryBuilder (gh .client , gh .orgCache , gh .omitArchivedRepositories , gh .directCollaboratorsOnly ),
124- orgRoleBuilder (gh .client , gh .orgCache ),
125- invitationBuilder ( invitationBuilderParams {
120+ OrgBuilder (gh .client , gh .appClient , gh .orgCache , gh .orgs , gh .syncSecrets ),
121+ TeamBuilder (gh .client , gh .orgCache , gh .directCollaboratorsOnly ),
122+ UserBuilder (gh .client , gh .graphqlClient , gh .orgCache , gh .orgs , gh .customClient , gh .enterprises ),
123+ RepositoryBuilder (gh .client , gh .orgCache , gh .omitArchivedRepositories , gh .directCollaboratorsOnly ),
124+ OrgRoleBuilder (gh .client , gh .orgCache ),
125+ InvitationBuilder ( InvitationBuilderParams {
126126 client : gh .client ,
127127 orgCache : gh .orgCache ,
128128 orgs : gh .orgs ,
129129 }),
130130 }
131131
132132 if gh .syncSecrets {
133- resourceSyncers = append (resourceSyncers , apiTokenBuilder (gh .client , gh .orgCache ))
133+ resourceSyncers = append (resourceSyncers , APITokenBuilder (gh .client , gh .orgCache ))
134134 }
135135
136136 if len (gh .enterprises ) > 0 {
137137 resourceSyncers = append (resourceSyncers ,
138- enterpriseRoleBuilder (gh .client , gh .appClient , gh .customClient , gh .enterprises ),
139- licenseBuilder (gh .customClient , gh .enterprises ),
138+ EnterpriseRoleBuilder (gh .client , gh .appClient , gh .customClient , gh .enterprises ),
139+ LicenseBuilder (gh .customClient , gh .enterprises ),
140140 )
141141 }
142142 return resourceSyncers
0 commit comments