Skip to content

Commit ea8769b

Browse files
committed
[Fix] indentation
1 parent b48e665 commit ea8769b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jetstream/datastore/database_cf_config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ func findDatabaseConfig(vcapServices map[string][]VCAPService, db *DatabaseConfi
9999
if err != nil {
100100
log.Warnf("Failed store Cloud Foundry service certificate in temp file; could not create temp file: %s", err.Error())
101101
return false
102-
} _, err = tempFile.WriteString(getDBCredentialsValue(dbCredentials["cacrt"]))
102+
}
103+
_, err = tempFile.WriteString(getDBCredentialsValue(dbCredentials["cacrt"]))
103104
if err != nil {
104105
log.Warnf("Failed store Cloud Foundry service certificate in temp file; could not write to temp file: %s", err.Error())
105106
return false

0 commit comments

Comments
 (0)