Fix case on download_secret_file

This commit is contained in:
Calvin Leung Huang
2016-04-13 14:55:43 -04:00
parent 7cec3f7461
commit ddb2931f6c

View File

@@ -28,7 +28,7 @@ module Zanzibar
if opts['filelabel'] if opts['filelabel']
scrt.download_secret_file(scrt_id: scrt_id, scrt.download_secret_file(scrt_id: scrt_id,
type: label) type: opts['filelabel'])
elsif opts['fieldlabel'] elsif opts['fieldlabel']
scrt.get_fieldlabel_value(scrt_id, opts['fieldlabel']) scrt.get_fieldlabel_value(scrt_id, opts['fieldlabel'])
else else