From 77ac70e8016e3c985d42c2132be6ceb79bcf1be6 Mon Sep 17 00:00:00 2001 From: ThePooN Date: Tue, 24 Dec 2024 20:24:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20probe=20type=20comparison?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osu/osu-web/Chart.yaml | 2 +- osu/osu-web/templates/_helpers.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/osu/osu-web/Chart.yaml b/osu/osu-web/Chart.yaml index ffc8aea..a8bc760 100644 --- a/osu/osu-web/Chart.yaml +++ b/osu/osu-web/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2024.1224.0 +version: 2024.1224.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/osu/osu-web/templates/_helpers.tpl b/osu/osu-web/templates/_helpers.tpl index 91c7b20..2d92100 100644 --- a/osu/osu-web/templates/_helpers.tpl +++ b/osu/osu-web/templates/_helpers.tpl @@ -463,10 +463,10 @@ If the input host is REPLACE_BY_APP_URL, will urlparse defaultHost and return it {{- if and (eq .probeType "httpGet") (.httpGet) }} httpGet: {{- toYaml .httpGet | nindent 4 }} - {{- else if and (eq .probeType "httpGet") (.tcpSocket) }} + {{- else if and (eq .probeType "tcpSocket") (.tcpSocket) }} tcpSocket: {{- toYaml .tcpSocket | nindent 4 }} - {{- else if and (eq .probeType "httpGet") (.exec) }} + {{- else if and (eq .probeType "exec") (.exec) }} exec: {{- toYaml .exec | nindent 4 }} {{- end }}