2194
}
2195
2197
>
pinnedQueue, err := pm.getVersionedQueue(ctx, "", "", deployment, true)
2198
>
if err != nil {
2199
return nil, nil, nil, 0, nil, err
2200
}
2202
>
// Task is not forwarded, so it can be spooled if sync match fails.
2203
>
// Spool queue and sync match queue is the same for pinned workflows.
2204
>
return pinnedQueue, pinnedQueue, userDataChanged, targetDeploymentRevisionNumber, targetDeploymentVersion, nil
2205
>
} else {
2206
// Forwarded from child partition - only do sync match.
2207
return nil, pinnedQueue, userDataChanged, targetDeploymentRevisionNumber, targetDeploymentVersion, nil