diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-14 12:34:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-15 15:39:10 +0100 |
commit | 8f6026de5ecd44cbe0fc0bcd47638a1ece860439 (patch) | |
tree | 5adf96c2218aa27b59eeb66cda676895979d4257 /src/garage/admin.rs | |
parent | 945b75dbf1de8bb22ebf9824727a2c45561bfcf4 (diff) | |
download | garage-8f6026de5ecd44cbe0fc0bcd47638a1ece860439.tar.gz garage-8f6026de5ecd44cbe0fc0bcd47638a1ece860439.zip |
Make table name a const in trait
Diffstat (limited to 'src/garage/admin.rs')
-rw-r--r-- | src/garage/admin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/admin.rs b/src/garage/admin.rs index f0444988..c7472670 100644 --- a/src/garage/admin.rs +++ b/src/garage/admin.rs @@ -466,7 +466,7 @@ impl AdminRpcHandler { F: TableSchema + 'static, R: TableReplication + 'static, { - writeln!(to, "\nTable stats for {}", t.data.name).unwrap(); + writeln!(to, "\nTable stats for {}", F::TABLE_NAME).unwrap(); if opt.detailed { writeln!(to, " number of items: {}", t.data.store.len()).unwrap(); writeln!( |