diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden index fc407eb123..489558d11c 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden @@ -19,11 +19,11 @@ ARGS: [health-check.check-max-retries] Number of consecutive unsuccessful health checks after which the server will be considered dead [health-check.mysql-config.user] MySQL user to use for the health check [health-check.pgsql-config.user] PostgreSQL user to use for the health check - [health-check.http-config.uri] HTTP URI used for the health check + [health-check.http-config.uri] HTTP path used for the health check [health-check.http-config.method] HTTP method used for the health check [health-check.http-config.code] HTTP response code expected for a successful health check [health-check.http-config.host-header] HTTP host header used for the health check - [health-check.https-config.uri] HTTP URI used for the health check + [health-check.https-config.uri] HTTP path used for the health check [health-check.https-config.method] HTTP method used for the health check [health-check.https-config.code] HTTP response code expected for a successful health check [health-check.https-config.host-header] HTTP host header used for the health check diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden index a4497147a2..564d8db415 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden @@ -14,11 +14,11 @@ ARGS: [check-send-proxy] Defines whether proxy protocol should be activated for the health check [mysql-config.user] MySQL user to use for the health check [pgsql-config.user] PostgreSQL user to use for the health check - [http-config.uri] HTTP URI used for the health check + [http-config.uri] HTTP path used for the health check [http-config.method] HTTP method used for the health check [http-config.code] HTTP response code expected for a successful health check [http-config.host-header] HTTP host header used for the health check - [https-config.uri] HTTP URI used for the health check + [https-config.uri] HTTP path used for the health check [https-config.method] HTTP method used for the health check [https-config.code] HTTP response code expected for a successful health check [https-config.host-header] HTTP host header used for the health check diff --git a/docs/commands/lb.md b/docs/commands/lb.md index 269864612b..fb5f38460f 100644 --- a/docs/commands/lb.md +++ b/docs/commands/lb.md @@ -291,11 +291,11 @@ scw lb backend create [arg=value ...] | health-check.check-max-retries | | Number of consecutive unsuccessful health checks after which the server will be considered dead | | health-check.mysql-config.user | | MySQL user to use for the health check | | health-check.pgsql-config.user | | PostgreSQL user to use for the health check | -| health-check.http-config.uri | | HTTP URI used for the health check | +| health-check.http-config.uri | | HTTP path used for the health check | | health-check.http-config.method | | HTTP method used for the health check | | health-check.http-config.code | | HTTP response code expected for a successful health check | | health-check.http-config.host-header | | HTTP host header used for the health check | -| health-check.https-config.uri | | HTTP URI used for the health check | +| health-check.https-config.uri | | HTTP path used for the health check | | health-check.https-config.method | | HTTP method used for the health check | | health-check.https-config.code | | HTTP response code expected for a successful health check | | health-check.https-config.host-header | | HTTP host header used for the health check | @@ -522,11 +522,11 @@ scw lb backend update-healthcheck [arg=value ...] | check-send-proxy | | Defines whether proxy protocol should be activated for the health check | | mysql-config.user | | MySQL user to use for the health check | | pgsql-config.user | | PostgreSQL user to use for the health check | -| http-config.uri | | HTTP URI used for the health check | +| http-config.uri | | HTTP path used for the health check | | http-config.method | | HTTP method used for the health check | | http-config.code | | HTTP response code expected for a successful health check | | http-config.host-header | | HTTP host header used for the health check | -| https-config.uri | | HTTP URI used for the health check | +| https-config.uri | | HTTP path used for the health check | | https-config.method | | HTTP method used for the health check | | https-config.code | | HTTP response code expected for a successful health check | | https-config.host-header | | HTTP host header used for the health check | diff --git a/internal/namespaces/lb/v1/lb_cli.go b/internal/namespaces/lb/v1/lb_cli.go index ac376d645b..472ded002d 100644 --- a/internal/namespaces/lb/v1/lb_cli.go +++ b/internal/namespaces/lb/v1/lb_cli.go @@ -909,7 +909,7 @@ func lbBackendCreate() *core.Command { }, { Name: "health-check.http-config.uri", - Short: `HTTP URI used for the health check`, + Short: `HTTP path used for the health check`, Required: false, Deprecated: false, Positional: false, @@ -937,7 +937,7 @@ func lbBackendCreate() *core.Command { }, { Name: "health-check.https-config.uri", - Short: `HTTP URI used for the health check`, + Short: `HTTP path used for the health check`, Required: false, Deprecated: false, Positional: false, @@ -1517,7 +1517,7 @@ func lbBackendUpdateHealthcheck() *core.Command { }, { Name: "http-config.uri", - Short: `HTTP URI used for the health check`, + Short: `HTTP path used for the health check`, Required: false, Deprecated: false, Positional: false, @@ -1545,7 +1545,7 @@ func lbBackendUpdateHealthcheck() *core.Command { }, { Name: "https-config.uri", - Short: `HTTP URI used for the health check`, + Short: `HTTP path used for the health check`, Required: false, Deprecated: false, Positional: false,