rabbitmq / ra

A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.
Other
813 stars 96 forks source link

avoid a runtime error when calling ra_system:overview/1 on non started systems #285

Closed flaviogrossi closed 2 years ago

flaviogrossi commented 2 years ago

Proposed Changes

Calling ra_system:overview/1 on a non started system causes a runtime error instead of returning system_not_started as per the spec. This simple change should fix that.

Types of Changes

What types of changes does your code introduce to this project? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask on the mailing list. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

michaelklishin commented 2 years ago

Thank you!