You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Update updates a pipeline at the given index with the given pipeline.func (ap*ActivePipelines) Update(indexint, p gaia.Pipeline) {
ap.Lock()
deferap.Unlock()
ap.Pipelines[index] =p
}
// Remove removes a pipeline at the given index from ActivePipelines.func (ap*ActivePipelines) Remove(indexint) {
ap.Lock()
deferap.Unlock()
ap.Pipelines=append(ap.Pipelines[:index], ap.Pipelines[index+1:]...)
}
These can and do cause index out of bounds errors.
The text was updated successfully, but these errors were encountered:
These can and do cause index out of bounds errors.
The text was updated successfully, but these errors were encountered: