Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resilience: do not return null if tag map is null
Motivation: The expected result of the call to PoolInfoMap.getTags() is an empty map even for uninitialized pools, not null. The case where there is no pool information entry was being handled correctly, but not the case where the information object was not yet entirely initialized. This was causing an NPE in one of the handler methods. Modification: Make the method return empty map in the latter case as well. Result: No NPE.
- Loading branch information