arista-eosplus/rbeapi

get_connect should raise an error instead of returning nil if no connection is found

Closed this issue · 1 comments

get_connect should raise an error instead of returning nil if no connection is found

Returning nil is fine versus raising an error. The caller can loop over a set of names getting nil for the ones not in the config file and a valid entry for those that are.