Skip to content

Commit

Permalink
fix: formatting issues
Browse files Browse the repository at this point in the history
Co-authored-by: Clemens Nafe <[email protected]>
  • Loading branch information
PatrickGotthard and mieseprem authored Nov 20, 2024
1 parent 1bb45e4 commit 1c67c38
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ private static GcpProjectIdProvider createProjectIdProvider(
ConfigurableBootstrapContext bootstrapContext = context.getBootstrapContext();

GcpSecretManagerProperties secretManagerProperties = bootstrapContext.get(GcpSecretManagerProperties.class);
if(secretManagerProperties.getProjectId() != null) {
return secretManagerProperties::getProjectId;
if (secretManagerProperties.getProjectId() != null) {
return secretManagerProperties::getProjectId;
}

GcpProperties gcpProperties = bootstrapContext.get(GcpProperties.class);
if(gcpProperties.getProjectId() != null) {
return gcpProperties::getProjectId;
if (gcpProperties.getProjectId() != null) {
return gcpProperties::getProjectId;
}

return new DefaultGcpProjectIdProvider();
Expand Down

0 comments on commit 1c67c38

Please sign in to comment.