mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* Fix color generation for pod name in logs viewer Signed-off-by: Philipp Trulson <der-eismann@users.noreply.github.com> * Add rebuy to users.md Signed-off-by: Philipp Trulson <der-eismann@users.noreply.github.com> --------- Signed-off-by: Philipp Trulson <der-eismann@users.noreply.github.com>
This commit is contained in:
parent
405949b127
commit
affd1cb251
2 changed files with 2 additions and 1 deletions
1
USERS.md
1
USERS.md
|
|
@ -243,6 +243,7 @@ Currently, the following organizations are **officially** using Argo CD:
|
|||
1. [QuintoAndar](https://quintoandar.com.br)
|
||||
1. [Quipper](https://www.quipper.com/)
|
||||
1. [RapidAPI](https://www.rapidapi.com/)
|
||||
1. [rebuy](https://www.rebuy.de/)
|
||||
1. [Recreation.gov](https://www.recreation.gov/)
|
||||
1. [Red Hat](https://www.redhat.com/)
|
||||
1. [Redpill Linpro](https://www.redpill-linpro.com/)
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ function stringHashCode(str: string) {
|
|||
|
||||
// ansi color for pod name
|
||||
function podColor(podName: string) {
|
||||
return colors[stringHashCode(podName) % colors.length];
|
||||
return colors[Math.abs(stringHashCode(podName) % colors.length)];
|
||||
}
|
||||
|
||||
// https://2ality.com/2012/09/empty-regexp.html
|
||||
|
|
|
|||
Loading…
Reference in a new issue