Skip to content

Commit a2f01ee

Browse files
committed
Sort the services alphabetically
1 parent f71d72e commit a2f01ee

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

mongodbatlas/mongodbatlas.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,17 @@ func NewClient(httpClient *http.Client) *Client {
133133

134134
c := &Client{client: httpClient, BaseURL: baseURL, UserAgent: userAgent}
135135

136-
c.DatabaseUsers = &DatabaseUsersServiceOp{client: c}
137-
c.ProjectIPWhitelist = &ProjectIPWhitelistServiceOp{client: c}
138-
c.Projects = &ProjectsServiceOp{client: c}
139-
c.ProjectIPWhitelist = &ProjectIPWhitelistServiceOp{client: c}
140-
c.Clusters = &ClustersServiceOp{client: c}
141-
c.CloudProviderSnapshots = &CloudProviderSnapshotsServiceOp{client: c}
142136
c.APIKeys = &APIKeysServiceOp{client: c}
143-
c.ProjectAPIKeys = &ProjectAPIKeysOp{client: c}
137+
c.CloudProviderSnapshots = &CloudProviderSnapshotsServiceOp{client: c}
144138
c.CloudProviderSnapshotRestoreJobs = &CloudProviderSnapshotRestoreJobsServiceOp{client: c}
145-
c.Peers = &PeersServiceOp{client: c}
139+
c.Clusters = &ClustersServiceOp{client: c}
146140
c.Containers = &ContainersServiceOp{client: c}
141+
c.DatabaseUsers = &DatabaseUsersServiceOp{client: c}
147142
c.EncryptionsAtRest = &EncryptionsAtRestServiceOp{client: c}
143+
c.Projects = &ProjectsServiceOp{client: c}
144+
c.ProjectAPIKeys = &ProjectAPIKeysOp{client: c}
145+
c.Peers = &PeersServiceOp{client: c}
146+
c.ProjectIPWhitelist = &ProjectIPWhitelistServiceOp{client: c}
148147
c.WhitelistAPIKeys = &WhitelistAPIKeysServiceOp{client: c}
149148

150149
return c

0 commit comments

Comments
 (0)