From 9ae78101f634ec79ae44afac2de31eb668af20be Mon Sep 17 00:00:00 2001 From: arteck <6681528+arteck@users.noreply.github.com> Date: Mon, 6 Nov 2023 15:18:00 +0100 Subject: [PATCH] chore: release v2.2.2 * (arteck) storage message corr --- CHANGELOG_OLD.md | 3 +++ README.md | 6 +++--- io-package.json | 30 +++++++++++++++--------------- lib/proxmox.js | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 26 insertions(+), 23 deletions(-) diff --git a/CHANGELOG_OLD.md b/CHANGELOG_OLD.md index c676831..574ddf1 100644 --- a/CHANGELOG_OLD.md +++ b/CHANGELOG_OLD.md @@ -1,4 +1,7 @@ # Older changes +## 2.0.1 (2023-09-07) +* (klein0r) Added node disks (heals, wearout) + ## 2.0.0 (2023-09-07) * (klein0r) Updated admin instance configuration diff --git a/README.md b/README.md index 6c06a05..61aa2a5 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,9 @@ Control and use data from your Proxmox VE Placeholder for the next version (at the beginning of the line): ### **WORK IN PROGRESS** --> +### 2.2.2 (2023-11-06) +* (arteck) storage message corr + ### 2.2.1 (2023-10-28) * (arteck) machines delete after restart corr * (arteck) vmid type corr @@ -55,9 +58,6 @@ Control and use data from your Proxmox VE * (klein0r) Check a type of disk wear out * (klein0r) Catch exception when requesting disk information -### 2.0.1 (2023-09-07) -* (klein0r) Added node disks (heals, wearout) - ## License The MIT License (MIT) diff --git a/io-package.json b/io-package.json index b86d54e..3cb7832 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,21 @@ { "common": { "name": "proxmox", - "version": "2.2.1", + "version": "2.2.2", "news": { + "2.2.2": { + "en": "storage message corr", + "de": "speichernachricht corr", + "ru": "хранение сообщение корр", + "pt": "mensagem de armazenamento", + "nl": "vertaling:", + "fr": "message de stockage corr", + "it": "messaggio di archiviazione corr", + "es": "mensaje de almacenamiento corr", + "pl": "przesyłka danych", + "uk": "код товару:", + "zh-cn": "储存信息" + }, "2.2.1": { "en": "machines delete after restart corr\nvmid type corr\ncorstorage error message", "de": "maschinen löschen nach neustart corr\ngeflechtsart\nkorstorage fehlermeldung", @@ -80,19 +93,6 @@ "pl": "* Administracja\nRefaktor adaptatora\n* Allow dot\n\n_Requires js-controller >=== 3.3.2\n_Requires admin >= 6.0.0_", "uk": "Ім'я * Оновлена конфігурація екземпляра адміністратора\n* Рефакторинг адаптера\nІм'я * Дозволити крапки в ресурсах\n\n_Вимагає js-controller >= 3.3.22_\n_Вимагає admin >= 6.0.0_", "zh-cn": "* A/64/50。 最新专题组合\n* 重新定性\n* A/64/50。 资源的名称\n\n____________________3.3.22:\n__________" - }, - "1.3.5": { - "en": "fixed warning if `max_cpu` is not in response", - "de": "feste warnung, wenn max_cpu nicht reagiert", - "ru": "фиксированное предупреждение, если max_cpu не находится в ответе", - "pt": "aviso fixo se max_cpu não estiver em resposta", - "nl": "vertaling:", - "fr": "avertissement fixe si max_cpu n'est pas en réponse", - "it": "avvertimento fisso se max_cpu non è in risposta", - "es": "advertencia fija si max_cpu no está en respuesta", - "pl": "bezpośrednie ostrzeżenie, jeśli max_cpu nie jest w odpowiedzi", - "zh-cn": "如果不作出反应,定期警告", - "uk": "виправлено попередження, якщо `max_cpu` не відповідає" } }, "connectionType": "local", @@ -168,7 +168,7 @@ { "admin": ">=6.0.0" } - ] + ] }, "protectedNative": [ "pwd", diff --git a/lib/proxmox.js b/lib/proxmox.js index 7ea55d0..6ce2929 100644 --- a/lib/proxmox.js +++ b/lib/proxmox.js @@ -187,7 +187,7 @@ class ProxmoxUtils { } } - this._getData(`/nodes/${node}/storage/${ID}/status`, 'get') + this._getData(`/nodes/${node}/storage/${ID}/status`, 'get', '','', 'storage') .then((data) => { if (data !== '' && data !== null && typeof data === 'object') { this.responseCache[`/nodes/${shared ? 'SHARED' : node}/storage/${ID}/status`] = data.data; @@ -305,7 +305,7 @@ class ProxmoxUtils { }) .catch((_error) => { if (additional != 'storage') { - + this.adapter.log.warn(`${additional} -- Use Next Proxmox Host because of communication failure ${this.URL}${url}`); this.communicationErrorCounter++; diff --git a/package-lock.json b/package-lock.json index b97e2e8..b097a22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "iobroker.proxmox", - "version": "2.2.1", + "version": "2.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "iobroker.proxmox", - "version": "2.2.1", + "version": "2.2.2", "license": "MIT", "dependencies": { "@iobroker/adapter-core": "^3.0.4", diff --git a/package.json b/package.json index 47972da..fad556c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.proxmox", - "version": "2.2.1", + "version": "2.2.2", "description": "ioBroker Proxmox Adapter", "author": { "name": "MeisterTR",