forked from NationTech/harmony
feat(inventory_agent): use HARMONY_INVENTORY_AGENT_PORT as environment variable to set port
This commit is contained in:
@@ -412,7 +412,7 @@ impl PhysicalHost {
|
||||
}
|
||||
|
||||
fn get_host_uuid() -> String {
|
||||
Self::read_dmi("system-uuid").unwrap_or_else(|| uuid::Uuid::new_v4().to_string())
|
||||
Self::read_dmi("system-uuid").unwrap()
|
||||
}
|
||||
|
||||
// Helper methods
|
||||
|
||||
Reference in New Issue
Block a user