lib/conjur/cli.rb in conjur-cli-2.4.0 vs lib/conjur/cli.rb in conjur-cli-2.4.1

- old
+ new

@@ -48,10 +48,10 @@ options[:"ownerid"] = group.roleid end if as_role = options.delete(:"as-role") role = Conjur::Command.api.role(as_role) exit_now!("Role '#{as_role}' does not exist, or you don't have permission to use it") unless role.exists? - options[:"ownerid"] = role.id + options[:"ownerid"] = role.roleid end true end