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 authored and oleg-jukovec committed Oct 8, 2024
1 parent 21384b6 commit 88477a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- `tt log -f` crash on removing log directory.
- `tt connect` crash due to an empty response.
- `tt start` error on start Tarantool 3 with encrypted etcd.

### Changed

Expand Down
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 88477a6

Please sign in to comment.