We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611dbd8 commit 8096d88Copy full SHA for 8096d88
apps/workspace-engine/pkg/workspace/releasemanager/deployment/planner.go
@@ -378,7 +378,11 @@ func (p *Planner) findDeployableVersion(
378
attribute.String("ctrlplane.version_name", firstVersion.Name),
379
attribute.String("ctrlplane.version_tag", firstVersion.Tag),
380
)
381
- evaluation.SetResult(trace.ResultBlocked, result.Message).End()
+ r := trace.ResultBlocked
382
+ if result.Allowed {
383
+ r = trace.ResultAllowed
384
+ }
385
+ evaluation.SetResult(r, result.Message).End()
386
}
387
388
0 commit comments