adam-stokes / juju-layer-ruby

Juju charms.reactive layer for Ruby
MIT License
3 stars 3 forks source link

change to exit(1) when there is a problem #1

Closed ChrisMacNaughton closed 8 years ago

adam-stokes commented 8 years ago

I was told by the eco team that we shouldn't exit with a return code higher than 0. @lazypower can you comment on this?

ChrisMacNaughton commented 8 years ago

if we exit(0) on this, we get stuck when there's a problem, by exit(1)ing, we can do a juju resolved --retry (which solves any network hickups) to resolve the issue