forked from acouzens/open5gs
[DBI] Fix code indent
This commit is contained in:
parent
ad216c0b77
commit
21b7cd487a
|
@ -35,17 +35,17 @@ ogs_mongoc_mongoc_client_get_server_status (mongoc_client_t *client, /* IN */
|
||||||
bson_t *reply, /* OUT */
|
bson_t *reply, /* OUT */
|
||||||
bson_error_t *error) /* OUT */
|
bson_error_t *error) /* OUT */
|
||||||
{
|
{
|
||||||
bson_t cmd = BSON_INITIALIZER;
|
bson_t cmd = BSON_INITIALIZER;
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
|
||||||
BSON_ASSERT (client);
|
BSON_ASSERT (client);
|
||||||
|
|
||||||
BSON_APPEND_INT32 (&cmd, "ping", 1);
|
BSON_APPEND_INT32 (&cmd, "ping", 1);
|
||||||
ret = mongoc_client_command_simple (
|
ret = mongoc_client_command_simple (
|
||||||
client, "admin", &cmd, read_prefs, reply, error);
|
client, "admin", &cmd, read_prefs, reply, error);
|
||||||
bson_destroy (&cmd);
|
bson_destroy (&cmd);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *masked_db_uri(const char *db_uri)
|
static char *masked_db_uri(const char *db_uri)
|
||||||
|
|
Loading…
Reference in New Issue