forked from cloudfoundry/cloud_controller_ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map alphabetical instance_id to numeric one
When using deployments in Eirini for workloads, the metrics proxy would send the pod name suffix (which is not a number) as instance id. In order to convert it to a number, we naively unique and sort those instance ids and map them to their order. [cloudfoundry/eirini-release#207] Co-authored-by: Mario Nitchev <[email protected]>
- Loading branch information
1 parent
b62b69b
commit b390e19
Showing
1 changed file
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters