mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-19 07:44:02 +02:00
DEVOPS-000 Fix review comments
This commit is contained in:
parent
a71eac0067
commit
a775c10c42
2 changed files with 2 additions and 5 deletions
|
@ -9,11 +9,7 @@ class ManualMonitorType extends MonitorType {
|
||||||
conditionVariables = [];
|
conditionVariables = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks the status of the monitor based on the manually set status
|
* @inheritdoc
|
||||||
* This monitor type is specifically designed for status pages where manual control is needed
|
|
||||||
* @param {object} monitor - Monitor object containing the current status and message
|
|
||||||
* @param {object} heartbeat - Object to write the status of the check
|
|
||||||
* @returns {Promise<void>}
|
|
||||||
*/
|
*/
|
||||||
async check(monitor, heartbeat) {
|
async check(monitor, heartbeat) {
|
||||||
if (monitor.manual_status !== null) {
|
if (monitor.manual_status !== null) {
|
||||||
|
|
|
@ -1202,6 +1202,7 @@ export default {
|
||||||
VueMultiselect,
|
VueMultiselect,
|
||||||
EditMonitorConditions,
|
EditMonitorConditions,
|
||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
minInterval: MIN_INTERVAL_SECOND,
|
minInterval: MIN_INTERVAL_SECOND,
|
||||||
|
|
Loading…
Add table
Reference in a new issue