mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 21:21:32 +00:00
hypha: implement basic networking support
This commit is contained in:
@ -110,12 +110,13 @@ fn main() -> Result<()> {
|
||||
Commands::List { .. } => {
|
||||
let containers = controller.list()?;
|
||||
let mut table = cli_tables::Table::new();
|
||||
let header = vec!["domain", "uuid", "image"];
|
||||
let header = vec!["domain", "uuid", "ipv4", "image"];
|
||||
table.push_row(&header)?;
|
||||
for container in containers {
|
||||
let row = vec![
|
||||
container.domid.to_string(),
|
||||
container.uuid.to_string(),
|
||||
container.ipv4,
|
||||
container.image,
|
||||
];
|
||||
table.push_row_string(&row)?;
|
||||
|
Reference in New Issue
Block a user