tape: set protected flag for configuration change api methods

This commit is contained in:
Dietmar Maurer committed 2020-12-09 12:02:55 +01:00
1 parent 6b68e5d597
commit 314652a499
2 files changed
+6

No files matched your search

+3
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: {
+3
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: {