Fix triton rbac role NAME.

This commit is contained in:
Trent Mick 2015-12-09 12:00:52 -08:00
parent d25df7c011
commit d15c5893b3

View File

@ -52,7 +52,7 @@ function _showRole(opts, cb) {
assert.func(cb, 'cb');
var cli = opts.cli;
cli.cloudapi.getRole({id: opts.id}, function onRole(err, role) {
cli.tritonapi.cloudapi.getRole({id: opts.id}, function onRole(err, role) {
if (err) {
cb(err);
return;
@ -181,7 +181,7 @@ function _editRole(opts, cb) {
}
cli.cloudapi.getRole({id: opts.id}, function onRole(err, role_) {
cli.tritonapi.cloudapi.getRole({id: opts.id}, function onRole(err, role_) {
if (err) {
return cb(err);
}