File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import (
23
23
24
24
"github.com/paypal/junodb/pkg/io"
25
25
"github.com/paypal/junodb/pkg/util"
26
- "github.com/paypal/junodb/internal/cli"
27
26
cal "github.com/paypal/junodb/pkg/logging/cal/config"
28
27
)
29
28
@@ -57,8 +56,5 @@ func (c *Config) validate(useGetTLS bool) error {
57
56
if c .DefaultTimeToLive < 0 {
58
57
return fmt .Errorf ("Config.DefaultTimeToLive is negative." )
59
58
}
60
- if c .Server .SSLEnabled && ! useGetTLS && ! cli .TLSInitialized () {
61
- return fmt .Errorf ("getTLSConfig is nil." )
62
- }
63
59
return nil
64
60
}
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ func setup() {
110
110
var err error
111
111
112
112
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 )
114
114
}
115
115
cfgShare = cfg
116
116
cfgShare .Namespace = "NS2"
You can’t perform that action at this time.
0 commit comments