aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/src/commands.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-14 19:21:26 +0100
committerDaniel Mueller <deso@posteo.net>2020-01-15 12:08:15 -0800
commit1e07212370806f3ea4ff7a6f66e5716b60ab1f77 (patch)
treec562f40b9888b9daf62a9d9a42eeef8bfa35413f /nitrocli/src/commands.rs
parent5251aa2d1665ee12245d5d5fe09c1f207272978f (diff)
downloadnitrocli-1e07212370806f3ea4ff7a6f66e5716b60ab1f77.tar.gz
nitrocli-1e07212370806f3ea4ff7a6f66e5716b60ab1f77.tar.bz2
Bump nitrokey dependency to version 0.5.1
This change updates the version of the nitrokey crate that we use to 0.5.1. As part of that, it replaces occurrences of Storage::get_status with Storage::get_storage_status as the method has been renamed. Import subrepo nitrokey/:nitrokey at 817409140a8778215d2d65d614d3672166fff576
Diffstat (limited to 'nitrocli/src/commands.rs')
-rw-r--r--nitrocli/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nitrocli/src/commands.rs b/nitrocli/src/commands.rs
index 537a2cf..cc57786 100644
--- a/nitrocli/src/commands.rs
+++ b/nitrocli/src/commands.rs
@@ -356,7 +356,7 @@ fn print_status(
if let nitrokey::DeviceWrapper::Storage(device) = device {
let status = device
- .get_status()
+ .get_storage_status()
.map_err(|err| get_error("Getting Storage status failed", err))?;
print_storage_status(ctx, &status)