(entityID string, scaleSetID uint)
| 282 | } |
| 283 | |
| 284 | func (e *EntityCache) DeleteEntityScaleSet(entityID string, scaleSetID uint) { |
| 285 | e.mux.Lock() |
| 286 | defer e.mux.Unlock() |
| 287 | |
| 288 | if cache, ok := e.entities[entityID]; ok { |
| 289 | delete(cache.ScaleSets, scaleSetID) |
| 290 | e.entities[entityID] = cache |
| 291 | } |
| 292 | delete(e.scalesets, scaleSetID) |
| 293 | } |
| 294 | |
| 295 | func (e *EntityCache) GetEntityPool(entityID string, poolID string) (params.Pool, bool) { |
| 296 | e.mux.Lock() |
no test coverage detected