1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix the naming and specs for some utility functions

This commit is contained in:
Chris Cummer
2019-08-05 11:40:42 -07:00
parent ecd95ba2d2
commit 3e2d6eb5fa
5 changed files with 61 additions and 28 deletions

View File

@@ -64,7 +64,7 @@ func (widget *Widget) contentFrom(deploys []nr.ApplicationDeployment) string {
revisions := []string{}
for _, deploy := range deploys {
if (deploy.Revision != "") && utils.Exclude(revisions, deploy.Revision) {
if (deploy.Revision != "") && utils.DoesNotInclude(revisions, deploy.Revision) {
lineColor := "white"
if wtf.IsToday(deploy.Timestamp) {
lineColor = "lightblue"