Skip to content

Commit 8096d88

Browse files
committed
clean up status
1 parent 611dbd8 commit 8096d88

File tree

1 file changed

+5
-1
lines changed
  • apps/workspace-engine/pkg/workspace/releasemanager/deployment

1 file changed

+5
-1
lines changed

apps/workspace-engine/pkg/workspace/releasemanager/deployment/planner.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,11 @@ func (p *Planner) findDeployableVersion(
378378
attribute.String("ctrlplane.version_name", firstVersion.Name),
379379
attribute.String("ctrlplane.version_tag", firstVersion.Tag),
380380
)
381-
evaluation.SetResult(trace.ResultBlocked, result.Message).End()
381+
r := trace.ResultBlocked
382+
if result.Allowed {
383+
r = trace.ResultAllowed
384+
}
385+
evaluation.SetResult(r, result.Message).End()
382386
}
383387
}
384388

0 commit comments

Comments
 (0)