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

set default fields via struct default tag #1162

Merged
merged 5 commits into from
Jan 12, 2023

Conversation

pravinpushkar
Copy link
Contributor

Signed-off-by: Pravin Pushkar ppushkar@microsoft.com

Description

Setting defaults values in the struct tag along with the run flags.

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
@codecov
Copy link

codecov bot commented Jan 10, 2023

Codecov Report

Merging #1162 (d3d2efc) into master (87b6f0e) will increase coverage by 0.61%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1162      +/-   ##
==========================================
+ Coverage   30.06%   30.67%   +0.61%     
==========================================
  Files          36       36              
  Lines        2458     2474      +16     
==========================================
+ Hits          739      759      +20     
+ Misses       1627     1624       -3     
+ Partials       92       91       -1     
Impacted Files Coverage Δ
pkg/standalone/run.go 64.94% <100.00%> (+5.39%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pravinpushkar pravinpushkar marked this pull request as ready for review January 10, 2023 12:08
@pravinpushkar pravinpushkar requested review from a team as code owners January 10, 2023 12:08
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
shubham1172
shubham1172 previously approved these changes Jan 11, 2023
@mukundansundar
Copy link
Collaborator

@pravinpushkar app-protocol defaults to http as well.

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Copy link
Collaborator

@mukundansundar mukundansundar left a comment

Choose a reason for hiding this comment

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

lgtm. pending checks pass

@mukundansundar mukundansundar added this to the v1.10 milestone Jan 12, 2023
@mukundansundar mukundansundar merged commit 37c2b34 into dapr:master Jan 12, 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.

3 participants