This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
registry: remove extra loops when fetching Jobs list from etcd
Improve Units() call when we fetch and process Jobs and Units from etcd. Remove extra unnecessary loops. We also change the code logic a little bit, since it was always storing the last matched name with the new Unit, but since Job keys do not expect to have two units with the same name, this should be ok.
- Loading branch information