juju / charm-helpers

Apache License 2.0
18 stars 127 forks source link

Skip service_resume if already enabled #884

Closed brianphaley closed 4 months ago

brianphaley commented 5 months ago

Repeatedly calling service_resume for a service that is already enabled can lead to unintended consequences. This adds a check to only resume a serice if it is not enabled.

Related-Bug: #2058505 (cherry picked from commit a334500)