Skip to content

Commit

Permalink
rename RiskCalculationStatus to ChangeAnalysisStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
tphoney committed Dec 16, 2024
1 parent 18982a7 commit c56a878
Show file tree
Hide file tree
Showing 3 changed files with 3,285 additions and 1,600 deletions.
14 changes: 7 additions & 7 deletions changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ func (r *GetChangeRisksResponse) ToMap() map[string]any {
}

return map[string]any{
"risks": risks,
"numHighRisk": rmd.GetNumHighRisk(),
"numMediumRisk": rmd.GetNumMediumRisk(),
"numLowRisk": rmd.GetNumLowRisk(),
"riskCalculationStatus": rmd.GetRiskCalculationStatus().ToMap(),
"risks": risks,
"numHighRisk": rmd.GetNumHighRisk(),
"numMediumRisk": rmd.GetNumMediumRisk(),
"numLowRisk": rmd.GetNumLowRisk(),
"changeCalculationStatus": rmd.GetChangeAnalysisStatus(),
}
}

Expand Down Expand Up @@ -354,7 +354,7 @@ func (cp *ChangeProperties) ToMap() map[string]any {
}
}

func (rcs *RiskCalculationStatus) ToMap() map[string]any {
func (rcs *ChangeAnalysisStatus) ToMap() map[string]any {
if rcs == nil {
return map[string]any{}
}
Expand All @@ -371,7 +371,7 @@ func (rcs *RiskCalculationStatus) ToMap() map[string]any {
}
}

func (m *RiskCalculationStatus_ProgressMilestone) ToMap() map[string]any {
func (m *ChangeAnalysisStatus_ProgressMilestone) ToMap() map[string]any {
return map[string]any{
"description": m.GetDescription(),
"status": m.GetStatus().String(),
Expand Down
Loading

0 comments on commit c56a878

Please sign in to comment.