diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-06 17:14:09 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-10 13:25:10 +0200 |
commit | dd54d0b2b13ecf1f95e60b107de9af20632335f6 (patch) | |
tree | b90ae9da1fa9c1c7cad20f98f1eb77888b3f8b1f /src/garage/admin.rs | |
parent | 01c4876fb447b70106e934ad09cf9b921f33682a (diff) | |
download | garage-dd54d0b2b13ecf1f95e60b107de9af20632335f6.tar.gz garage-dd54d0b2b13ecf1f95e60b107de9af20632335f6.zip |
Refactor code for apply/revert, implement Update/Apply/RevertLayout
Diffstat (limited to 'src/garage/admin.rs')
-rw-r--r-- | src/garage/admin.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/garage/admin.rs b/src/garage/admin.rs index af0c3f22..1a58a613 100644 --- a/src/garage/admin.rs +++ b/src/garage/admin.rs @@ -696,11 +696,7 @@ impl AdminRpcHandler { writeln!( &mut ret, "\nGarage version: {}", - option_env!("GIT_VERSION").unwrap_or(git_version::git_version!( - prefix = "git:", - cargo_prefix = "cargo:", - fallback = "unknown" - )) + self.garage.system.garage_version(), ) .unwrap(); |