|
|
|
@ -484,7 +484,7 @@
|
|
|
|
|
<div v-if="monitor.type === 'http' || monitor.type === 'keyword' || monitor.type === 'json-query' || monitor.type === 'redis' " class="my-3 form-check">
|
|
|
|
|
<input id="ignore-tls" v-model="monitor.ignoreTls" class="form-check-input" type="checkbox" value="">
|
|
|
|
|
<label class="form-check-label" for="ignore-tls">
|
|
|
|
|
{{ ignoreTlsLabel }}
|
|
|
|
|
{{ this.monitor.type === "redis" ? this.$t("ignoreTLSErrorGeneral") : this.$t("ignoreTLSError") }}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -1201,16 +1201,6 @@ message HealthCheckResponse {
|
|
|
|
|
return list;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Retrieves the appropriate ignore TLS error label based on the monitor type.
|
|
|
|
|
* @returns {string} Returns the non specific label if the monitor type is 'redis', otherwise, returns the default.
|
|
|
|
|
*/
|
|
|
|
|
ignoreTlsLabel() {
|
|
|
|
|
return this.monitor.type === "redis"
|
|
|
|
|
? this.$t("ignoreTLSErrorGeneral")
|
|
|
|
|
: this.$t("ignoreTLSError");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dockerHostOptionsList() {
|
|
|
|
|
if (this.$root.dockerHostList && this.$root.dockerHostList.length > 0) {
|
|
|
|
|
return this.$root.dockerHostList.map((host) => {
|
|
|
|
@ -1227,7 +1217,6 @@ message HealthCheckResponse {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
watch: {
|
|
|
|
|
"$root.proxyList"() {
|
|
|
|
|
if (this.isAdd) {
|
|
|
|
|