brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [48/50] brooklyn-library git commit: Removed .failOnNonZeroResultCode(), following review from ahgittin
Date Mon, 01 Feb 2016 17:47:18 GMT
Removed .failOnNonZeroResultCode(), following review from ahgittin


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-library/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-library/commit/f5370316
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-library/tree/f5370316
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-library/diff/f5370316

Branch: refs/heads/0.6.0
Commit: f5370316fd957b5b28fddaf3e1b057d0bbaef881
Parents: 490fa1d
Author: Martin Harris <github@nakomis.com>
Authored: Fri Nov 15 17:46:13 2013 +0000
Committer: Martin Harris <github@nakomis.com>
Committed: Fri Nov 15 17:46:13 2013 +0000

----------------------------------------------------------------------
 .../brooklyn/entity/database/postgresql/PostgreSqlSshDriver.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-library/blob/f5370316/software/database/src/main/java/brooklyn/entity/database/postgresql/PostgreSqlSshDriver.java
----------------------------------------------------------------------
diff --git a/software/database/src/main/java/brooklyn/entity/database/postgresql/PostgreSqlSshDriver.java
b/software/database/src/main/java/brooklyn/entity/database/postgresql/PostgreSqlSshDriver.java
index 7c3f8b8..55bed4b 100644
--- a/software/database/src/main/java/brooklyn/entity/database/postgresql/PostgreSqlSshDriver.java
+++ b/software/database/src/main/java/brooklyn/entity/database/postgresql/PostgreSqlSshDriver.java
@@ -171,7 +171,7 @@ public class PostgreSqlSshDriver extends AbstractSoftwareProcessSshDriver
     public void stop() {
         newScript(MutableMap.of("usePidFile", false), STOPPING).body.append(callPgctl(
                 (entity.getConfig(PostgreSqlNode.DISCONNECT_ON_STOP) ? "-m immediate " :
"") +
-                "stop", false)).failOnNonZeroResultCode().execute();
+                "stop", false)).execute();
     }
 
     @Override


Mime
View raw message