I'm not really sure why we raise an error here - but we really shouldn't. Instead it should just be graceful degradation instead of a fatal error. Maybe we warn to stderr that it's empty, but raising an error here seems a bit strong. So you didn't find a configuration? Let the upper layer deal with the fact that there are no clusters.
I'm not really sure why we raise an error here - but we really shouldn't. Instead it should just be graceful degradation instead of a fatal error. Maybe we warn to stderr that it's empty, but raising an error here seems a bit strong. So you didn't find a configuration? Let the upper layer deal with the fact that there are no clusters.
https://github.com/OSC/ood_core/blob/07aff911eb8aaf9d691c48b1b10df1cbaf21346a/lib/ood_core/clusters.rb#L52
This is the error I get running rake tasks.
┆Issue is synchronized with this Asana task by Unito