Skip to content

Commit

Permalink
hidden database password (#1050)
Browse files Browse the repository at this point in the history
Signed-off-by: myan <[email protected]>
  • Loading branch information
yanmxa authored Aug 13, 2024
1 parent a1051d7 commit cf07950
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (r *StorageReconciler) reconcileDatabase(ctx context.Context, mgh *v1alpha4

conn, err := database.PostgresConnection(ctx, storageConn.SuperuserDatabaseURI, storageConn.CACert)
if err != nil {
return fmt.Errorf("failed to connect to database %s: %v", storageConn.SuperuserDatabaseURI, err)
return fmt.Errorf("failed to connect to database: %v", err)
}
defer func() {
if err := conn.Close(ctx); err != nil {
Expand Down

0 comments on commit cf07950

Please sign in to comment.