key_id => keyId

This commit is contained in:
Dave Eddy 2015-09-25 13:08:00 -04:00
parent 4bbb43fcc9
commit 04c7b638d7

View File

@ -27,7 +27,7 @@ try {
assert.object(CONFIG, 'test/config.json'); assert.object(CONFIG, 'test/config.json');
assert.string(CONFIG.url, 'test/config.json#url'); assert.string(CONFIG.url, 'test/config.json#url');
assert.string(CONFIG.account, 'test/config.json#account'); assert.string(CONFIG.account, 'test/config.json#account');
assert.string(CONFIG.key_id, 'test/config.json#key_id'); assert.string(CONFIG.keyId, 'test/config.json#keyId');
if (CONFIG.insecure === undefined) if (CONFIG.insecure === undefined)
CONFIG.insecure = false; CONFIG.insecure = false;
if (CONFIG.destructive === undefined) if (CONFIG.destructive === undefined)
@ -40,7 +40,7 @@ try {
error(' {'); error(' {');
error(' "url": "<CloudAPI URL>",'); error(' "url": "<CloudAPI URL>",');
error(' "account": "<account>",'); error(' "account": "<account>",');
error(' "key_id": "<ssh key fingerprint>",'); error(' "keyId": "<ssh key fingerprint>",');
error(' "insecure": true|false // optional'); error(' "insecure": true|false // optional');
error(' }'); error(' }');
error(''); error('');
@ -77,7 +77,7 @@ function triton(args, cb) {
SSH_AUTH_SOCK: process.env.SSH_AUTH_SOCK, SSH_AUTH_SOCK: process.env.SSH_AUTH_SOCK,
SDC_URL: CONFIG.url, SDC_URL: CONFIG.url,
SDC_ACCOUNT: CONFIG.account, SDC_ACCOUNT: CONFIG.account,
SDC_KEY_ID: CONFIG.key_id, SDC_KEY_ID: CONFIG.keyId,
SDC_TLS_INSECURE: CONFIG.insecure SDC_TLS_INSECURE: CONFIG.insecure
} }
}, },