joyent/node-triton#143 triton rbac key duplicate output

This commit is contained in:
Yang Yong 2016-11-30 10:40:34 +09:00
parent 152d12767c
commit e721ebe865

View File

@ -167,13 +167,6 @@ function _addUserKey(opts, cb) {
next(err); next(err);
return; return;
} }
if (userKey.name) {
console.log('Added user %s key "%s" (%s)',
opts.userId, userKey.name, userKey.fingerprint);
} else {
console.log('Added user %s key %s',
opts.userId, userKey.fingerprint);
}
var extra = ''; var extra = '';
if (userKey.name) { if (userKey.name) {
extra = format(' (%s)', userKey.name); extra = format(' (%s)', userKey.name);