This repository was archived by the owner on Dec 3, 2023. It is now read-only.
File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed google-cloud-core/src/main/java/com/google/cloud
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -218,7 +218,7 @@ public B setCredentials(Credentials credentials) {
|
218 | 218 | }
|
219 | 219 |
|
220 | 220 | if (this.quotaProjectId == null && credentials instanceof QuotaProjectIdProvider) {
|
221 |
| -this.quotaProjectId = ((ServiceAccountCredentials) credentials).getQuotaProjectId(); |
| 221 | +this.quotaProjectId = ((QuotaProjectIdProvider) credentials).getQuotaProjectId(); |
222 | 222 | }
|
223 | 223 | return self();
|
224 | 224 | }
|
|
You can’t perform that action at this time.
0 commit comments