Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task-queue-worker: bugfix command to get mongo version #40

Merged
merged 1 commit into from
May 30, 2024

Conversation

harissudrajat
Copy link
Contributor

Try to fix issue get version of mongo db

[MongoServerError[Unauthorized]:] not authorized on db_name to execute command { serverStatus: 1, lsid: {}, $clusterTime: { clusterTime: Timestamp(1716964746, 3402), signature: { hash: BinData(), keyId: xxx } }, $db: "db_name" }

Change command from db.runCommand( { serverStatus: 1 } ) to db.runCommand( { buildInfo: 1 } )

@harissudrajat harissudrajat requested a review from a team as a code owner May 29, 2024 06:56
Copy link

codecov bot commented May 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 22.72%. Comparing base (b9ce49e) to head (efbfbbb).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #40   +/-   ##
=======================================
  Coverage   22.72%   22.72%           
=======================================
  Files          43       43           
  Lines        2477     2477           
=======================================
  Hits          563      563           
  Misses       1890     1890           
  Partials       24       24           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@agungdwiprasetyo agungdwiprasetyo merged commit 3bebb65 into golangid:master May 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants