Skip to content

PMM-7 Test of backup bug.#5519

Closed
JiriCtvrtka wants to merge 1 commit into
mainfrom
PMM-7-mongo-backup
Closed

PMM-7 Test of backup bug.#5519
JiriCtvrtka wants to merge 1 commit into
mainfrom
PMM-7-mongo-backup

Conversation

@JiriCtvrtka

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 43.50%. Comparing base (21bd8d4) to head (7a125ec).

Files with missing lines Patch % Lines
agent/runner/jobs/mongodb_restore_job.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5519      +/-   ##
==========================================
+ Coverage   43.47%   43.50%   +0.02%     
==========================================
  Files         413      413              
  Lines       42953    42953              
==========================================
+ Hits        18675    18685      +10     
+ Misses      22400    22393       -7     
+ Partials     1878     1875       -3     
Flag Coverage Δ
agent 49.02% <0.00%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

err = execPBMCommand(ctx, j.dbURL, &restoreOutput, "restore", backupName)
} else {
err = execPBMCommand(ctx, j.dbURL, &restoreOutput, "restore", "--time="+j.pitrTimestamp.Format("2006-01-02T15:04:05"))
err = execPBMCommand(ctx, j.dbURL, &restoreOutput, "restore", fmt.Sprintf(`--time=%s`, j.pitrTimestamp.Format("2006-01-02T15:04:05")))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
string-format: fmt.Sprintf can be replaced with string concatenation (perfsprint)

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.

2 participants