lib/conjur/command/assets.rb in conjur-cli-4.1.0 vs lib/conjur/command/assets.rb in conjur-cli-4.1.1

- old
+ new

@@ -107,10 +107,9 @@ command :"members:remove" do |c| c.action do |global_options, options, args| kind, id = get_kind_and_id_from_args(args, 'id') role_name = require_arg(args, 'role-name') member = require_arg(args, 'member') - admin_option = !options.delete(:admin).nil? asset = api.send(kind, id) tokens = [ asset.resource_kind, asset.resource_id, role_name ] grant_role = [ asset.core_conjur_account, '@', tokens.join('/') ].join(':') api.role(grant_role).revoke_from member \ No newline at end of file