Navigation Menu

Skip to content

Commit

Permalink
Return "127.0.0.1.xip.io:7575" as the host and port by default
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 15, 2012
1 parent 7a041cd commit 5e3d996
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/gcs-describe-domain
Expand Up @@ -13,14 +13,16 @@ commandLine
String)
.parse();

var hostPort = '127.0.0.1.xip.io:7575';

function report(domain) {
console.log('=== Domain Summary ===');
console.log('Domain Name: %s',
domain.name);
console.log('Document Service endpoint: %s',
domain.getDocumentsEndpoint('localhost'));
domain.getDocumentsEndpoint(hostPort));
console.log('Search Service endpoint: %s',
domain.getSearchEndpoint('localhost'));
domain.getSearchEndpoint(hostPort));
console.log('SearchInstanceType: %s',
domain.searchInstanceType);
console.log('SearchPartitionCount: %s',
Expand Down

0 comments on commit 5e3d996

Please sign in to comment.