|
|
@ -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">
|
|
|
|
<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="">
|
|
|
|
<input id="ignore-tls" v-model="monitor.ignoreTls" class="form-check-input" type="checkbox" value="">
|
|
|
|
<label class="form-check-label" for="ignore-tls">
|
|
|
|
<label class="form-check-label" for="ignore-tls">
|
|
|
|
{{ ignoreTlsLabel }}
|
|
|
|
{{ this.monitor.type === "redis" ? this.$t("ignoreTLSErrorGeneral") : this.$t("ignoreTLSError") }}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -1201,16 +1201,6 @@ message HealthCheckResponse {
|
|
|
|
return list;
|
|
|
|
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() {
|
|
|
|
dockerHostOptionsList() {
|
|
|
|
if (this.$root.dockerHostList && this.$root.dockerHostList.length > 0) {
|
|
|
|
if (this.$root.dockerHostList && this.$root.dockerHostList.length > 0) {
|
|
|
|
return this.$root.dockerHostList.map((host) => {
|
|
|
|
return this.$root.dockerHostList.map((host) => {
|
|
|
@ -1227,7 +1217,6 @@ message HealthCheckResponse {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
watch: {
|
|
|
|
watch: {
|
|
|
|
"$root.proxyList"() {
|
|
|
|
"$root.proxyList"() {
|
|
|
|
if (this.isAdd) {
|
|
|
|
if (this.isAdd) {
|
|
|
|