Skip to content

Commit

Permalink
start: failed to start Tarantool 3 with encrypted etcd
Browse files Browse the repository at this point in the history
This patch fixes an incorrect SSL certificate parameter name.

Closes #938
  • Loading branch information
patapenka-alexey committed Oct 4, 2024
1 parent 062a172 commit b86ad9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ type ClusterConfig struct {
Prefix string `yaml:"prefix"`
Ssl struct {
KeyFile string `yaml:"ssl_key"`
CertFile string `yaml:"cert_file"`
CertFile string `yaml:"ssl_cert"`
CaPath string `yaml:"ca_path"`
CaFile string `yaml:"ca_file"`
VerifyPeer bool `yaml:"verify_peer"`
Expand Down
2 changes: 1 addition & 1 deletion lib/cluster/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func TestMakeClusterConfig_settings(t *testing.T) {
expected.Config.Etcd.Prefix)
config.Set([]string{"config", "etcd", "ssl", "ssl_key"},
expected.Config.Etcd.Ssl.KeyFile)
config.Set([]string{"config", "etcd", "ssl", "cert_file"},
config.Set([]string{"config", "etcd", "ssl", "ssl_cert"},
expected.Config.Etcd.Ssl.CertFile)
config.Set([]string{"config", "etcd", "ssl", "ca_path"},
expected.Config.Etcd.Ssl.CaPath)
Expand Down

0 comments on commit b86ad9b

Please sign in to comment.