docs: function getHostInfo(results, done) {
    const db = results.db;
  
    const spec = {
      hostInfo: 1
    };
  
    const adminDb = db.databaseName === 'admin' ? db : db.admin();
    adminDb.command(spec, {}, function(err, res) {
      if (err) {
        if (isNotAuthorized(err)) {
          // if the error is that the user is not authorized, silently ignore it
          // and return an empty document
          debug(
            'user does not have hostInfo privilege, returning empty document {}'
          );
          done(null, {});
          return;
        }
        // something else went wrong and we should return the error.
        debug('driver error', err);
        err.command = 'hostInfo';
        done(err);
        return;
      }
      done(null, parseHostInfo(res));
    });
  }