tape: set protected flag for configuration change api methods

This commit is contained in:
Dietmar Maurer 2020-12-09 12:02:55 +01:00
parent 6b68e5d597
commit 314652a499
2 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,7 @@ use crate::{
};
#[api(
protected: true,
input: {
properties: {
name: {
@ -139,6 +140,7 @@ pub fn list_changers(
}
#[api(
protected: true,
input: {
properties: {
name: {
@ -188,6 +190,7 @@ pub fn update_changer(
}
#[api(
protected: true,
input: {
properties: {
name: {

View File

@ -22,6 +22,7 @@ use crate::{
};
#[api(
protected: true,
input: {
properties: {
name: {
@ -134,6 +135,7 @@ pub fn list_drives(
}
#[api(
protected: true,
input: {
properties: {
name: {
@ -193,6 +195,7 @@ pub fn update_drive(
}
#[api(
protected: true,
input: {
properties: {
name: {