Implement support for passing a session_id variable to scriptorium to support sticky routing
This commit is contained in:
@@ -347,6 +347,7 @@ func executeAnalyzeArtifact(
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("analyze: resolve vars for artifact %q: %w", artifactName, err)
|
||||
}
|
||||
vars = withScriptoriumStickySessionVar(vars, sessionID)
|
||||
|
||||
canonicalOutputPath, err := resolveScriptoriumOutputPath(paths, artifactCfg.OutputPath)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user