Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Discovery::groups_alphabetical following kubectl sort order (#887)
* Make Discovery::groups have deterministic order Fixes #886 Signed-off-by: clux <sszynrae@gmail.com> * sort Discovery::groups in kubectl order Signed-off-by: clux <sszynrae@gmail.com> * revert back to hashmap (no need for btree anymore) Signed-off-by: clux <sszynrae@gmail.com> * use peek rather than creating group values twice Signed-off-by: clux <sszynrae@gmail.com> * document Signed-off-by: clux <sszynrae@gmail.com> * update with suggestions Signed-off-by: clux <sszynrae@gmail.com> * update test Signed-off-by: clux <sszynrae@gmail.com> * remove ordering fn since it's simple Signed-off-by: clux <sszynrae@gmail.com> * can avoid making name public since we have a getter Signed-off-by: clux <sszynrae@gmail.com> * ..but then need to update the test Signed-off-by: clux <sszynrae@gmail.com>
- Loading branch information