]> git.proxmox.com Git - proxmox-backup.git/commitdiff
api: apt update must run protected
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Jul 2020 09:45:46 +0000 (11:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Jul 2020 09:45:52 +0000 (11:45 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/node/apt.rs

index c65e4141ceda916434e378a118723ce69267caa8..334a27136b1e12baa1c80f894cecb3004c517a39 100644 (file)
@@ -206,6 +206,7 @@ fn apt_update_available(_param: Value) -> Result<Value, Error> {
 }
 
 #[api(
+    protected: true,
     input: {
         properties: {
             node: {