api: apt update must run protected

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-07-23 11:45:46 +02:00
parent fa3f0584bb
commit 27fde64794
1 changed files with 1 additions and 0 deletions

View File

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