opendatahub-io-contrib / jupyterhub-singleuser-profiles

MIT License
11 stars 24 forks source link

Add an error message if the configmap has incorrect type. #189

Closed maroroman closed 2 years ago

maroroman commented 2 years ago

This PR adds the following error message if any of the configmaps loaded in the load_profiles function is of incorrect type (commonly caused by mistakes in the yaml structure):

Ignoring CM <name> - content must be object, not list.
Please review configuration documentation for the 
jupyterhub-singleuser-profiles library.
vpavlin commented 2 years ago

lgtm