Skip to content

Conversation

@fmenezes
Copy link
Collaborator

@fmenezes fmenezes commented Jul 28, 2025

Proposed changes

AtlasCLI command atlas backup restore watch does not return errors

Jira ticket: CLOUDP-333673

Closes #[issue number]

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
  • I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • I have updated test/README.md (if an e2e test has been added)
  • I have run make fmt and formatted my code

Further comments

@fmenezes fmenezes marked this pull request as ready for review July 28, 2025 17:12
@fmenezes fmenezes requested a review from a team as a code owner July 28, 2025 17:12
return nil, false, err
}
return nil, result.GetState() == "Successful" || result.GetState() == "Failed" || result.GetState() == "Cancelled", nil
return result, result.GetState() == successfulState || result.GetState() == failedState || result.GetState() == cancelledState, nil
Copy link
Collaborator

@blva blva Jul 28, 2025

Choose a reason for hiding this comment

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

nit: strings.EqualFold ftw here and across the code

@github-actions
Copy link
Contributor

Coverage Report 📈

Branch Commit Coverage
master eda76de 25.7%
CLOUDP-333673 306c8a8 25.8%
Difference .1%

Copy link
Collaborator

@cveticm cveticm left a comment

Choose a reason for hiding this comment

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

LGTM

@fmenezes fmenezes merged commit b808dfd into master Jul 29, 2025
22 checks passed
@fmenezes fmenezes deleted the CLOUDP-333673 branch July 29, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants