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

fix(redis_interface): add missing #[serde(default)] annotation to RedisSettings #409

Merged
merged 2 commits into from
Jan 18, 2023

Conversation

SanchithHegde
Copy link
Member

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates

Description

This PR fixes a mistake in my previous PR #352 where I missed out adding a #[serde(default)] annotation to the RedisSettings struct.

Motivation and Context

Bug fix.

How did you test it?

Specified a subset of redis settings and started router. The application now runs without panicking.

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

@SanchithHegde SanchithHegde added A-framework Area: Framework C-bug Category: Bug S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Jan 18, 2023
@SanchithHegde SanchithHegde self-assigned this Jan 18, 2023
@SanchithHegde SanchithHegde requested a review from a team as a code owner January 18, 2023 12:50
@jarnura jarnura added S-ready-to-merge and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Jan 18, 2023
@SanchithHegde SanchithHegde merged commit f4072d3 into main Jan 18, 2023
@SanchithHegde SanchithHegde deleted the fix-redis-settings-missing-serde-default branch January 18, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-framework Area: Framework C-bug Category: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants