Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comment for --use-ssl flag #6

Merged
merged 1 commit into from
Mar 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions pkg/app/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,8 @@ COMMANDS
--shield=SHIELD The shield POP designated to reduce inbound
load on this origin by serving the cached
data to the rest of the network
--use-ssl The shield POP designated to reduce inbound
load on this origin by serving the cached
data to the rest of the network
--use-ssl Whether or not to use SSL to reach the
backend
--ssl-check-cert Be strict on checking SSL certs
--ssl-ca-cert=SSL-CA-CERT CA certificate attached to origin
--ssl-client-cert=SSL-CLIENT-CERT
Expand Down Expand Up @@ -428,9 +427,8 @@ COMMANDS
--shield=SHIELD The shield POP designated to reduce inbound
load on this origin by serving the cached
data to the rest of the network
--use-ssl The shield POP designated to reduce inbound
load on this origin by serving the cached
data to the rest of the network
--use-ssl Whether or not to use SSL to reach the
backend
--ssl-check-cert Be strict on checking SSL certs
--ssl-ca-cert=SSL-CA-CERT CA certificate attached to origin
--ssl-client-cert=SSL-CLIENT-CERT
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewCreateCommand(parent common.Registerer, globals *config.Data) *CreateCom
c.CmdClause.Flag("request-condition", "Condition, which if met, will select this backend during a request").StringVar(&c.Input.RequestCondition)
c.CmdClause.Flag("healthcheck", "The name of the healthcheck to use with this backend").StringVar(&c.Input.HealthCheck)
c.CmdClause.Flag("shield", "The shield POP designated to reduce inbound load on this origin by serving the cached data to the rest of the network").StringVar(&c.Input.Shield)
c.CmdClause.Flag("use-ssl", "The shield POP designated to reduce inbound load on this origin by serving the cached data to the rest of the network").BoolVar(&c.UseSSL)
c.CmdClause.Flag("use-ssl", "Whether or not to use SSL to reach the backend").BoolVar(&c.UseSSL)
c.CmdClause.Flag("ssl-check-cert", "Be strict on checking SSL certs").BoolVar(&c.SSLCheckCert)
c.CmdClause.Flag("ssl-ca-cert", "CA certificate attached to origin").StringVar(&c.Input.SSLCACert)
c.CmdClause.Flag("ssl-client-cert", "Client certificate attached to origin").StringVar(&c.Input.SSLClientCert)
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func NewUpdateCommand(parent common.Registerer, globals *config.Data) *UpdateCom
c.CmdClause.Flag("request-condition", "condition, which if met, will select this backend during a request").Action(c.RequestCondition.Set).StringVar(&c.RequestCondition.Value)
c.CmdClause.Flag("healthcheck", "The name of the healthcheck to use with this backend").Action(c.HealthCheck.Set).StringVar(&c.HealthCheck.Value)
c.CmdClause.Flag("shield", "The shield POP designated to reduce inbound load on this origin by serving the cached data to the rest of the network").Action(c.Shield.Set).StringVar(&c.Shield.Value)
c.CmdClause.Flag("use-ssl", "The shield POP designated to reduce inbound load on this origin by serving the cached data to the rest of the network").Action(c.UseSSL.Set).BoolVar(&c.UseSSL.Value)
c.CmdClause.Flag("use-ssl", "Whether or not to use SSL to reach the backend").Action(c.UseSSL.Set).BoolVar(&c.UseSSL.Value)
c.CmdClause.Flag("ssl-check-cert", "Be strict on checking SSL certs").Action(c.SSLCheckCert.Set).BoolVar(&c.SSLCheckCert.Value)
c.CmdClause.Flag("ssl-ca-cert", "CA certificate attached to origin").Action(c.SSLCACert.Set).StringVar(&c.SSLCACert.Value)
c.CmdClause.Flag("ssl-client-cert", "Client certificate attached to origin").Action(c.SSLClientCert.Set).StringVar(&c.SSLClientCert.Value)
Expand Down