Skip to content

Commit

Permalink
fix debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
idoqo committed Jan 10, 2024
1 parent 4f44c13 commit 84c8b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/serviceinfobroker/service_info_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (sib *ServiceInfoBroker) getMongoDBInfo(ctx context.Context, dsn string, fi

resp := client.Database("admin").RunCommand(ctx, bson.D{{Key: command, Value: 1}})
if err = resp.Err(); err != nil {
sib.l.Debugf("getMongoDBInfo: failed to runCommand hello: %s", err)
sib.l.Debugf("getMongoDBInfo: failed to runCommand %s: %s", command, err)
res.Error = err.Error()
return &res
}
Expand Down

0 comments on commit 84c8b3b

Please sign in to comment.