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 lint warnings for generated internal types #3689

Conversation

vytautas-karpavicius
Copy link
Contributor

What changed?

  • No underscores in internal type names
  • Added missing comments

Why?
Linter was complaining

How did you test it?

Potential risks

@coveralls
Copy link

coveralls commented Oct 28, 2020

Coverage Status

Coverage increased (+0.007%) to 59.644% when pulling 51910f6 on vytautas-karpavicius:internal-types-lint-fixes into 2bb5d47 on uber:master.

@vytautas-karpavicius vytautas-karpavicius merged commit 7e03347 into cadence-workflow:master Oct 29, 2020
@@ -2898,8 +2898,7 @@ func FromHistoryRespondDecisionTaskCompletedResponse(t *types.HistoryRespondDeci
return nil
}
return &history.RespondDecisionTaskCompletedResponse{
StartedResponse: FromRecordDecisionTaskStartedResponse(t.StartedResponse),
ActivitiesToDispatchLocally: FromActivityLocalDispatchInfoMap(t.ActivitiesToDispatchLocally),
Copy link
Contributor

Choose a reason for hiding this comment

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

please revert the ActivitiesToDispatchLocally back

@@ -2909,8 +2908,7 @@ func ToHistoryRespondDecisionTaskCompletedResponse(t *history.RespondDecisionTas
return nil
}
return &types.HistoryRespondDecisionTaskCompletedResponse{
StartedResponse: ToRecordDecisionTaskStartedResponse(t.StartedResponse),
ActivitiesToDispatchLocally: ToActivityLocalDispatchInfoMap(t.ActivitiesToDispatchLocally),
Copy link
Contributor

Choose a reason for hiding this comment

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

idem

github-actions bot pushed a commit to vytautas-karpavicius/cadence that referenced this pull request Feb 4, 2021
yux0 pushed a commit to yux0/cadence that referenced this pull request May 4, 2021
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.

4 participants