diff options
author | Saku Ytti <saku@ytti.fi> | 2018-06-07 22:08:15 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2018-06-07 22:08:15 +0300 |
commit | a843b5cff1ffa7bba11281402694b992b12a448b (patch) | |
tree | b71abedc753dc4e27725a430a6765a98e9211898 /lib/oxidized/model/edgeos.rb | |
parent | 63c5ff8265f9cb4920caf64d53dc655118de02a0 (diff) |
Refactor manager, take2
Make all the add_* return falsy valuem and make all the callers raise,
this has benefit that the caller has more information, like it can tell
what node we were trying to load when model failed to load.
We were only failing to do this in two places in the code, source and
plugin.
Diffstat (limited to 'lib/oxidized/model/edgeos.rb')
0 files changed, 0 insertions, 0 deletions