Skip to content

Commit

Permalink
Fixed environment branch info
Browse files Browse the repository at this point in the history
  • Loading branch information
satr committed Nov 8, 2024
1 parent 4fdb7f6 commit 8e8e17c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/models/environment_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ func BuildEnvironmentSummaryList(rr *radixv1.RadixRegistration, ra *radixv1.Radi

deploymentSummary := getActiveDeploymentSummary(ra.GetName(), e.Name, rdList)
buildFromBranch := e.Build.From
if deploymentSummary != nil && len(deploymentSummary.BuiltFromBranch) > 0 {
buildFromBranch = deploymentSummary.BuiltFromBranch
}
env := &environmentModels.EnvironmentSummary{
Name: e.Name,
BranchMapping: buildFromBranch,
Expand Down

0 comments on commit 8e8e17c

Please sign in to comment.