From 27fde6479448a90298acd3223ffaf5774be6a58d Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 23 Jul 2020 11:45:46 +0200 Subject: [PATCH] api: apt update must run protected Signed-off-by: Thomas Lamprecht --- src/api2/node/apt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api2/node/apt.rs b/src/api2/node/apt.rs index c65e4141..334a2713 100644 --- a/src/api2/node/apt.rs +++ b/src/api2/node/apt.rs @@ -206,6 +206,7 @@ fn apt_update_available(_param: Value) -> Result { } #[api( + protected: true, input: { properties: { node: {