mirror of https://github.com/dragonflyoss/api.git
feat: remove system information in announce host (#157)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
bc6a1e7c31
commit
e6ce870de8
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "dragonfly-api"
|
||||
version = "2.0.9"
|
||||
version = "2.0.10"
|
||||
authors = ["Gaius <gaius.qi@gmail.com>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
|
|
|
@ -191,15 +191,15 @@ message Host {
|
|||
// Host kernel version.
|
||||
string kernel_version = 11;
|
||||
// CPU Stat.
|
||||
CPU cpu = 12;
|
||||
// CPU cpu = 12;
|
||||
// Memory Stat.
|
||||
Memory memory = 13;
|
||||
// Memory memory = 13;
|
||||
// Network Stat.
|
||||
Network network = 14;
|
||||
// Network network = 14;
|
||||
// Disk Stat.
|
||||
Disk disk = 15;
|
||||
// Disk disk = 15;
|
||||
// Build information.
|
||||
Build build = 16;
|
||||
// Build build = 16;
|
||||
}
|
||||
|
||||
// CPU Stat.
|
||||
|
|
|
@ -133,23 +133,19 @@ pub struct Host {
|
|||
#[prost(string, tag = "10")]
|
||||
pub platform_version: ::prost::alloc::string::String,
|
||||
/// Host kernel version.
|
||||
///
|
||||
/// CPU Stat.
|
||||
/// CPU cpu = 12;
|
||||
/// Memory Stat.
|
||||
/// Memory memory = 13;
|
||||
/// Network Stat.
|
||||
/// Network network = 14;
|
||||
/// Disk Stat.
|
||||
/// Disk disk = 15;
|
||||
/// Build information.
|
||||
/// Build build = 16;
|
||||
#[prost(string, tag = "11")]
|
||||
pub kernel_version: ::prost::alloc::string::String,
|
||||
/// CPU Stat.
|
||||
#[prost(message, optional, tag = "12")]
|
||||
pub cpu: ::core::option::Option<Cpu>,
|
||||
/// Memory Stat.
|
||||
#[prost(message, optional, tag = "13")]
|
||||
pub memory: ::core::option::Option<Memory>,
|
||||
/// Network Stat.
|
||||
#[prost(message, optional, tag = "14")]
|
||||
pub network: ::core::option::Option<Network>,
|
||||
/// Disk Stat.
|
||||
#[prost(message, optional, tag = "15")]
|
||||
pub disk: ::core::option::Option<Disk>,
|
||||
/// Build information.
|
||||
#[prost(message, optional, tag = "16")]
|
||||
pub build: ::core::option::Option<Build>,
|
||||
}
|
||||
/// CPU Stat.
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue