Skip to content

Commit

Permalink
fix invalid SFTP_PASSWORD usage #274
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Oct 14, 2021
1 parent 54bec1c commit ab0123a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.1.1

BUG FIXES
- fix broken `system.backup_list` integration table after add `required field` in https://github.com/AlexAkulov/clickhouse-backup/pull/263
- fix [#274](https://github.com/AlexAkulov/clickhouse-backup/issues/274) invalid `SFTP_PASSWORD` environment usage

# v1.1.0

IMPROVEMENTS
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ type SFTPConfig struct {
Port uint `yaml:"port" envconfig:"SFTP_PORT"`
Username string `yaml:"username" envconfig:"SFTP_USERNAME"`
Password string `yaml:"password" envconfig:"SFTP_PASSWORD"`
Key string `yaml:"key" envconfig:"SFTP_PASSWORD"`
Key string `yaml:"key" envconfig:"SFTP_KEY"`
Path string `yaml:"path" envconfig:"SFTP_PATH"`
CompressionFormat string `yaml:"compression_format" envconfig:"SFTP_COMPRESSION_FORMAT"`
CompressionLevel int `yaml:"compression_level" envconfig:"SFTP_COMPRESSION_LEVEL"`
Expand Down

0 comments on commit ab0123a

Please sign in to comment.