Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2019-04-23 11:47:13 -0400
committerJeff Johnston2019-04-23 13:44:10 -0400
commitb95e9f5830bde854cd67fc811a63f120bd6c7355 (patch)
treef75c80a6f6a9df904ae41fddec24fefabb5bc89a
parent6a0a9338e72aa78c8e9a5ac086e08a205db8db88 (diff)
downloadorg.eclipse.linuxtools-b95e9f5830bde854cd67fc811a63f120bd6c7355.tar.gz
org.eclipse.linuxtools-b95e9f5830bde854cd67fc811a63f120bd6c7355.tar.xz
org.eclipse.linuxtools-b95e9f5830bde854cd67fc811a63f120bd6c7355.zip
Bug 546664 - TCPConnectionSettings.isTlsVerify is incorrect
- add !isEmpty check Change-Id: I2e8e8a1c8f4d3bfb1ef377afa133e011a7b3da85 Reviewed-on: https://git.eclipse.org/r/141001 Tested-by: Linux Tools Bot <linuxtools-bot@eclipse.org> Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/TCPConnectionSettings.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/TCPConnectionSettings.java b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/TCPConnectionSettings.java
index 8e937fb68b..e8f4db0982 100644
--- a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/TCPConnectionSettings.java
+++ b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/TCPConnectionSettings.java
@@ -111,7 +111,8 @@ public class TCPConnectionSettings extends BaseConnectionSettings {
* @return the tlsVerify
*/
public boolean isTlsVerify() {
- return this.pathToCertificates != null;
+ return this.pathToCertificates != null
+ && !this.pathToCertificates.isEmpty();
}
/**

Back to the top