Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove disabled and not loaded services before calling reset-failed a…
…nd restart services (#2266) What I did Added logic to remove disabled and not loaded services before calling reset-failed/restart services. Certain services like telemetry can go down and become disabled, which would cause load_minigraph to fail when resetting failed services. Services that are not loaded or disabled should not impact reset or start of other services. How I did it Added logic to remove services that are disabled or not loaded from the group of listed services for that specific operation. such as resetting failed or restart. How to verify it Manual testing. Bring down a service such as telemetry via mask or config feature state telemetry disabled, and it should not impact load_minigraph Previous command output (if the output of a command-line utility has changed) New command output (if the output of a command-line utility has changed)
- Loading branch information