File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ const (
1414// builder's git-receive hook.
1515type Config struct {
1616 // k8s service discovery env vars
17- ControllerHost string `envconfig:"DRYCC_CONTROLLER_SERVICE_HOST " required:"true"`
18- ControllerPort string `envconfig:"DRYCC_CONTROLLER_SERVICE_PORT " required:"true"`
17+ ControllerHost string `envconfig:"DRYCC_CONTROLLER_API_SERVICE_HOST " required:"true"`
18+ ControllerPort string `envconfig:"DRYCC_CONTROLLER_API_SERVICE_PORT " required:"true"`
1919
2020 GitHome string `envconfig:"GIT_HOME" required:"true"`
2121 SSHConnection string `envconfig:"SSH_CONNECTION" required:"true"`
Original file line number Diff line number Diff line change 66
77// Config represents the required SSH server configuration.
88type Config struct {
9- ControllerHost string `envconfig:"DRYCC_CONTROLLER_SERVICE_HOST " required:"true"`
10- ControllerPort string `envconfig:"DRYCC_CONTROLLER_SERVICE_PORT " required:"true"`
9+ ControllerHost string `envconfig:"DRYCC_CONTROLLER_API_SERVICE_HOST " required:"true"`
10+ ControllerPort string `envconfig:"DRYCC_CONTROLLER_API_SERVICE_PORT " required:"true"`
1111 SSHHostIP string `envconfig:"SSH_HOST_IP" default:"0.0.0.0" required:"true"`
1212 SSHHostPort int `envconfig:"SSH_HOST_PORT" default:"2223" required:"true"`
1313 HealthSrvPort int `envconfig:"HEALTH_SERVER_PORT" default:"8092"`
You can’t perform that action at this time.
0 commit comments