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

CBG-3324: Add startup cnf logging to DefaultDbConfig #6381

Merged
merged 4 commits into from
Aug 24, 2023
Merged

CBG-3324: Add startup cnf logging to DefaultDbConfig #6381

merged 4 commits into from
Aug 24, 2023

Conversation

mohammed-madi
Copy link
Contributor

CBG-3324

Describe your PR here...

  • Copy startup config logging to default db config, to be returned on GET /db/_config?include_runtime=true calls
  • Add check on TestConfigsIncludeDefaults

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Dependencies (if applicable)

  • Link upstream PRs
  • Update Go module dependencies when merged

Integration Tests

rest/config_database.go Show resolved Hide resolved
Copy link
Member

@bbrks bbrks left a comment

Choose a reason for hiding this comment

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

Looks good. Nitpick on copy/pasted test comment :)

rest/adminapitest/admin_api_test.go Outdated Show resolved Hide resolved
@bbrks bbrks merged commit 5288dbf into master Aug 24, 2023
26 checks passed
@bbrks bbrks deleted the CBG-3324 branch August 24, 2023 16:31
mohammed-madi added a commit that referenced this pull request Sep 25, 2023
mohammed-madi added a commit that referenced this pull request Sep 25, 2023
mohammed-madi added a commit that referenced this pull request Sep 25, 2023
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