[pve-devel] [PATCH novnc-pve 1/1] avoid passing deprecated 'upgrade' parameter

Fabian Ebner f.ebner at proxmox.com
Fri Jun 4 15:49:34 CEST 2021


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 ...passing-deprecated-upgrade-parameter.patch | 24 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 25 insertions(+)
 create mode 100644 debian/patches/0014-avoid-passing-deprecated-upgrade-parameter.patch

diff --git a/debian/patches/0014-avoid-passing-deprecated-upgrade-parameter.patch b/debian/patches/0014-avoid-passing-deprecated-upgrade-parameter.patch
new file mode 100644
index 0000000..3e03c2a
--- /dev/null
+++ b/debian/patches/0014-avoid-passing-deprecated-upgrade-parameter.patch
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Fabian Ebner <f.ebner at proxmox.com>
+Date: Fri, 4 Jun 2021 08:27:23 +0200
+Subject: [PATCH] avoid passing deprecated 'upgrade' parameter
+
+Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
+---
+ app/pve.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/app/pve.js b/app/pve.js
+index 9cf4b09..0ab825a 100644
+--- a/app/pve.js
++++ b/app/pve.js
+@@ -45,7 +45,7 @@ export default function PVEUI(UI){
+ 	    break;
+ 	case 'upgrade':
+ 	    url =  baseUrl + '/vncshell';
+-	    params.upgrade = 1;
++	    params.cmd = 'upgrade';
+ 	    title = 'System upgrade on node ' + this.nodename;
+ 	    break;
+ 	case 'cmd':
+
diff --git a/debian/patches/series b/debian/patches/series
index 0d32df5..217c61c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
 0011-add-localCursor-setting-to-rfb.patch
 0012-pass-custom-command-to-vnc.patch
 0013-Revert-Remove-the-default-value-of-wsProtocols.patch
+0014-avoid-passing-deprecated-upgrade-parameter.patch
-- 
2.30.2






More information about the pve-devel mailing list