]> git.proxmox.com Git - proxmox-backup.git/commitdiff
src/api2/access/user.rs: remove useless description
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 20 May 2020 09:27:58 +0000 (11:27 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 20 May 2020 09:27:58 +0000 (11:27 +0200)
The description is not used at all if we refer to a type.

src/api2/access/user.rs

index 6e381cd55316b72f793e26c83c19d131a9014601..2d6b35e7ef548d0dfd8745e323fbe1f20070d11f 100644 (file)
@@ -21,10 +21,7 @@ pub const PBS_PASSWORD_SCHEMA: Schema = StringSchema::new("User Password.")
     returns: {
         description: "List users (with config digest).",
         type: Array,
-        items: {
-            type: user::User,
-            description: "User configuration (without password).",
-        },
+        items: { type: user::User },
     },
     access: {
         permission: &Permission::Privilege(&["access", "users"], PRIV_SYS_AUDIT, false),