mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-01 11:22:34 +02:00
Fixed jsdoc type
This commit is contained in:
parent
5366212347
commit
4a5fe2145c
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class Prometheus {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {object} monitor Monitor object to monitor
|
* @param {object} monitor Monitor object to monitor
|
||||||
* @param {Array<object>} tags Tags to add to the monitor
|
* @param {Array<{name:string,value:?string}>} tags Tags to add to the monitor
|
||||||
*/
|
*/
|
||||||
constructor(monitor, tags) {
|
constructor(monitor, tags) {
|
||||||
let filteredValidAsciiTags = this.filterValidAsciiTags(tags);
|
let filteredValidAsciiTags = this.filterValidAsciiTags(tags);
|
||||||
|
@ -60,7 +60,7 @@ class Prometheus {
|
||||||
/**
|
/**
|
||||||
* Filter tags to remove the ones that contain non-ASCII characters
|
* Filter tags to remove the ones that contain non-ASCII characters
|
||||||
* See https://github.com/louislam/uptime-kuma/pull/4704#issuecomment-2366524692
|
* See https://github.com/louislam/uptime-kuma/pull/4704#issuecomment-2366524692
|
||||||
* @param {Array<{name: string, value:string}>} tags The tags to filter
|
* @param {Array<{name: string, value:?string}>} tags The tags to filter
|
||||||
* @returns {string[]} The filtered tags
|
* @returns {string[]} The filtered tags
|
||||||
*/
|
*/
|
||||||
filterValidAsciiTags(tags) {
|
filterValidAsciiTags(tags) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue