From ddb2931f6cf22c8805bb207b368ff0f9a8b8250d Mon Sep 17 00:00:00 2001 From: Calvin Leung Huang Date: Wed, 13 Apr 2016 14:55:43 -0400 Subject: [PATCH] Fix case on download_secret_file --- lib/zanzibar/actions/get.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zanzibar/actions/get.rb b/lib/zanzibar/actions/get.rb index fca5c62..3fd24c2 100644 --- a/lib/zanzibar/actions/get.rb +++ b/lib/zanzibar/actions/get.rb @@ -28,7 +28,7 @@ module Zanzibar if opts['filelabel'] scrt.download_secret_file(scrt_id: scrt_id, - type: label) + type: opts['filelabel']) elsif opts['fieldlabel'] scrt.get_fieldlabel_value(scrt_id, opts['fieldlabel']) else