Skip to content

Commit

Permalink
Merge pull request #125 from overmindtech/fix-bad-hardcode
Browse files Browse the repository at this point in the history
Fixed hardcoding of blast radius
  • Loading branch information
dylanratcliffe authored Nov 22, 2023
2 parents 5a18984 + e3664c1 commit 8d6b266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/getchange.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ func GetChange(ctx context.Context, ready chan bool) int {
ChangeUrl: fmt.Sprintf("%v/changes/%v", viper.GetString("frontend"), changeUuid.String()),
ExpectedChanges: []TemplateItem{},
UnmappedChanges: []TemplateItem{},
BlastItems: 75,
BlastEdges: 97,
BlastItems: int(changeRes.Msg.Change.Metadata.NumAffectedItems),
BlastEdges: int(changeRes.Msg.Change.Metadata.NumAffectedEdges),
Risks: []TemplateRisk{},
}

Expand Down

0 comments on commit 8d6b266

Please sign in to comment.