]> git.proxmox.com Git - proxmox-backup.git/commitdiff
src/api2/node.rs: 'mod' statement cleanup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 29 Jul 2020 07:19:56 +0000 (09:19 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 29 Jul 2020 07:19:57 +0000 (09:19 +0200)
split them into groups: `pub`, `pub(crate)` and non-pub

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/api2/node.rs

index b80a6618565bdc5cb42e0ccdbdfc3785374f2bbe..f7a8696833423de43fb09461e41815b058f7f353 100644 (file)
@@ -28,15 +28,17 @@ use crate::tools;
 
 pub mod disks;
 pub mod dns;
-mod journal;
 pub mod network;
+pub mod tasks;
+
 pub(crate) mod rrd;
+
+mod apt;
+mod journal;
 mod services;
 mod status;
 mod subscription;
-mod apt;
 mod syslog;
-pub mod tasks;
 mod time;
 
 pub const SHELL_CMD_SCHEMA: Schema = StringSchema::new("The command to run.")