@@ -168,8 +168,8 @@ func (gh *GitHub) validateAppCredentials(ctx context.Context) (annotations.Annot
168168}
169169
170170type getAllInstallationsResp struct {
171- installationIds map [int64 ]* github.Installation
172- accountIds map [int64 ]struct {}
171+ installationIDs map [int64 ]* github.Installation
172+ accountIDs map [int64 ]struct {}
173173 accountNames map [string ]struct {}
174174}
175175
@@ -203,8 +203,8 @@ func getAllInstallations(ctx context.Context, c *github.Client) (getAllInstallat
203203 page = resp .NextPage
204204 }
205205 return getAllInstallationsResp {
206- installationIds : installationsIDToInstallation ,
207- accountIds : AccountIDMap ,
206+ installationIDs : installationsIDToInstallation ,
207+ accountIDs : AccountIDMap ,
208208 accountNames : AccountNameMap ,
209209 }, nil
210210}
@@ -292,10 +292,10 @@ func newAppClient(ctx context.Context, ghc *cfg.Github) (gitHubApp, error) {
292292 }
293293
294294 var (
295- installationsClient = make (map [int64 ]* github.Client , len (iResp .installationIds ))
296- installationsGLClient = make (map [int64 ]* githubv4.Client , len (iResp .accountIds ))
295+ installationsClient = make (map [int64 ]* github.Client , len (iResp .installationIDs ))
296+ installationsGLClient = make (map [int64 ]* githubv4.Client , len (iResp .accountIDs ))
297297 )
298- for id , installation := range iResp .installationIds {
298+ for id , installation := range iResp .installationIDs {
299299 c , glc , err := getInstallationClient (ctx , ghc .InstanceUrl , id , token )
300300 if err != nil {
301301 return gitHubApp {}, err
0 commit comments