Reuse supplied completion in plans and runs
This commit is contained in:
@@ -162,7 +162,7 @@ func initializeLockedInvocation(runtime *invocationRuntime) error {
|
||||
|
||||
// The unlocked inspection avoids creating invocation state for an invalid
|
||||
// request. Recheck while holding the session lock in case prior state changed.
|
||||
if err := validateBoundedPrerequisites(runtime.plan, m); err != nil {
|
||||
if err := validateBoundedPrerequisites(runtime.plan, m, runtime.cfg); err != nil {
|
||||
return fmt.Errorf("validate bounded run prerequisites under session lock: %w", err)
|
||||
}
|
||||
runtime.started = true
|
||||
|
||||
Reference in New Issue
Block a user