Skip to content

Commit

Permalink
remove unnecessary config
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Calza <brunoangelicalza@gmail.com>
  • Loading branch information
brunocalza committed Mar 13, 2024
1 parent 8a7aa9c commit fdb2c1c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions cmd/vaults/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ type config struct {
}

type vault struct {
User string `yaml:"user"`
Password string `yaml:"password"`
Host string `yaml:"host"`
Port int `yaml:"port"`
Database string `yaml:"database"`
Tables []string `yaml:"tables"`
ProviderHost string `yaml:"provider_host"`
WindowSize int64 `yaml:"window_size"`
User string `yaml:"user"`
Password string `yaml:"password"`
Host string `yaml:"host"`
Port int `yaml:"port"`
Database string `yaml:"database"`
ProviderHost string `yaml:"provider_host"`
WindowSize int64 `yaml:"window_size"`
}

func newConfig() *config {
Expand Down

0 comments on commit fdb2c1c

Please sign in to comment.