Skip to content

Commit

Permalink
fix config parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrestc committed Mar 29, 2018
1 parent 3110e0c commit 464c7ac
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ const version = "0.2.8"

type Config struct {
DockerHost string `envconfig:"DOCKER_HOST"`
RunAsSidecar bool
DestinationImage string
RegistryPushRetries int `default:"3"`
RegistryAuthEmail string
RegistryAuthPass string
RegistryAuthUser string
RegistryAddress string
RunAsSidecar bool `split_words:"true"`
DestinationImage string `split_words:"true"`
RegistryPushRetries int `split_words:"true" default:"3"`
RegistryAuthEmail string `split_words:"true"`
RegistryAuthPass string `split_words:"true"`
RegistryAuthUser string `split_words:"true"`
RegistryAddress string `split_words:"true"`
}

func main() {
Expand Down

0 comments on commit 464c7ac

Please sign in to comment.