Files
os-service-types/releasenotes/notes/get-service-types-f5e56799a55a6df4.yaml
Monty Taylor f9dca6f788 Add factory helper function which returns a singleton
Not that ServiceTypes is super expensive or anything, but it's also
an encapsultation of static data, so there's really no need to construct
more than one of them in a program.

Change-Id: I2515fd9be27421006ed22a3ab01bef8cb48196f8
2018-01-12 11:20:50 -06:00

8 lines
279 B
YAML

---
features:
- |
Factory function ``os_service_types.get_service_types`` added. Returns
a singleton instance of ServiceTypes. ServiceTypes is a very low cost
object in the first place, but it does read a data file from disk and
then the data is pretty static.