Skip to content

Commit

Permalink
Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
HiranmoyChowdhury committed May 17, 2024
1 parent 5aeac9e commit 512141a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgbouncer/kubedb_client_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (o *KubeDBClientBuilder) getBackendAuth() (string, string, error) {

db := o.databaseRef

if db == nil || &db.DatabaseRef == nil {
if db == nil {
return "", "", fmt.Errorf("there is no DatabaseReference found for pgBouncer %s/%s", o.pgbouncer.Namespace, o.pgbouncer.Name)
}
appBinding := &appbinding.AppBinding{}
Expand Down

0 comments on commit 512141a

Please sign in to comment.