Github user aledsage commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/149#discussion_r17198344
--- Diff:
software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseNodeSshDriver.java
---
@@ -205,11 +205,11 @@ private String getWebPort() {
}
private String getCouchbaseHostnameAndCredentials() {
- return format("-c %s:%s -u %s -p %s", getHostname(), getWebPort(),
getUsername(), getPassword());
+ return format("-c localhost:%s -u %s -p %s", getWebPort(),
getUsername(), getPassword());
}
private String getCouchbaseHostnameAndPort() {
--- End diff --
This method should probably have a better name. I didn't expect the return
value to start with `"-c"`, but that looks reasonable based on where it is
called from. Same goes for `getCouchbaseHostnameAndCredentials()`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---