Skip to content

Check Service Bug Fix

Choose a tag to compare

@tk185166 tk185166 released this 08 Aug 19:08
37161d9

Changelog:

🐛 Bug Fixes

  • Issue #205
    • Old functionality of check_service when the desired service does not exist:
      • Always returned 2
    • New functionality of check_service when the desired service does not exist:
      • When using only --current_state flag, check_service always returns 0
      • When using --current_state and --state flags together, always returns 2
      • If not using --current_state flag, always returns 2
🔍 Internal Changes
  • Test case has been updated to reflect this change(#205)
  • New test case has been added to reflect this change for when using --current_state and --state with a service that does not exist(#205)

👏 Contributors