joyentcloud.com is deprecated, use joyent.com.

- JPC-1754.
This commit is contained in:
Lloyd Dewolf 2015-05-18 14:07:45 -07:00
parent cf6052c74e
commit 1882dbf18e
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
`sdc` is a CLI for Joyent SmartDataCenter and the `sdc` is a CLI for Joyent SmartDataCenter and the
Joyent Public Cloud (<https://my.joyentcloud.com>, Joyent Public Cloud (<https://my.joyent.com>,
<http://www.joyent.com/products/compute-service>). <http://www.joyent.com/products/compute-service>).
# Installation # Installation

View File

@ -1,9 +1,9 @@
{ {
"defaultProfile": "env", "defaultProfile": "env",
"dcs": { "dcs": {
"us-east-1": "https://us-east-1.api.joyentcloud.com", "us-east-1": "https://us-east-1.api.joyent.com",
"us-west-1": "https://us-west-1.api.joyentcloud.com", "us-west-1": "https://us-west-1.api.joyent.com",
"us-sw-1": "https://us-sw-1.api.joyentcloud.com", "us-sw-1": "https://us-sw-1.api.joyent.com",
"eu-ams-1": "https://eu-ams-1.api.joyentcloud.com" "eu-ams-1": "https://eu-ams-1.api.joyent.com"
} }
} }

View File

@ -25,7 +25,7 @@ var sign = auth.cliSigner({
log: log log: log
}); });
var client = cloudapi.createClient({ var client = cloudapi.createClient({
url: 'https://us-sw-1.api.joyentcloud.com', url: 'https://us-sw-1.api.joyent.com',
user: USER, user: USER,
version: '*', version: '*',
sign: sign, sign: sign,

View File

@ -9,7 +9,7 @@
* var auth = require('smartdc-auth'); * var auth = require('smartdc-auth');
* var cloudapi = require('./lib/cloudapi2'); * var cloudapi = require('./lib/cloudapi2');
* var client = cloudapi.createClient({ * var client = cloudapi.createClient({
* url: <URL>, // 'https://us-sw-1.api.joyentcloud.com', * url: <URL>, // 'https://us-sw-1.api.joyent.com',
* user: <USER>, // 'bob' * user: <USER>, // 'bob'
* log: <BUNYAN-LOGGER>, * log: <BUNYAN-LOGGER>,
* sign: auth.cliSigner({ * sign: auth.cliSigner({