Fix triton rbac role NAME
.
This commit is contained in:
parent
d25df7c011
commit
d15c5893b3
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user