Skip to content

Commit 9750751

Browse files
authored
Merge pull request #177 from art2ip/juno_24_0614
Fixed test failure.
2 parents 4f99105 + 969b9d8 commit 9750751

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pkg/client/config.go

-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import (
2323

2424
"github.com/paypal/junodb/pkg/io"
2525
"github.com/paypal/junodb/pkg/util"
26-
"github.com/paypal/junodb/internal/cli"
2726
cal "github.com/paypal/junodb/pkg/logging/cal/config"
2827
)
2928

@@ -57,8 +56,5 @@ func (c *Config) validate(useGetTLS bool) error {
5756
if c.DefaultTimeToLive < 0 {
5857
return fmt.Errorf("Config.DefaultTimeToLive is negative.")
5958
}
60-
if c.Server.SSLEnabled && !useGetTLS && !cli.TLSInitialized() {
61-
return fmt.Errorf("getTLSConfig is nil.")
62-
}
6359
return nil
6460
}

test/functest/setup_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func setup() {
110110
var err error
111111

112112
if proxyClient, err = client.New(cfg); err != nil {
113-
glog.Exitf("proxyClient create in set up is null, fail")
113+
glog.Exitf("%s proxyClient create in set up is null, fail", err)
114114
}
115115
cfgShare = cfg
116116
cfgShare.Namespace = "NS2"

0 commit comments

Comments
 (0)