Skip to content

Commit 952b366

Browse files
authored
docs(lb): update description for mysql healthcheck (scaleway#2363)
1 parent 2c77d5f commit 952b366

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/lb/v1/lb_sdk.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ type HealthCheck struct {
12581258
// Precisely one of TCPConfig, MysqlConfig, PgsqlConfig, LdapConfig, RedisConfig, HTTPConfig, HTTPSConfig must be set.
12591259
TCPConfig *HealthCheckTCPConfig `json:"tcp_config,omitempty"`
12601260

1261-
// MysqlConfig: object to configure a MySQL health check. The check requires MySQL >=3.22, for older versions, use a TCP health check.
1261+
// MysqlConfig: object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
12621262
// Precisely one of TCPConfig, MysqlConfig, PgsqlConfig, LdapConfig, RedisConfig, HTTPConfig, HTTPSConfig must be set.
12631263
MysqlConfig *HealthCheckMysqlConfig `json:"mysql_config,omitempty"`
12641264

@@ -3236,7 +3236,7 @@ type UpdateHealthCheckRequest struct {
32363236
// Precisely one of TCPConfig, MysqlConfig, PgsqlConfig, LdapConfig, RedisConfig, HTTPConfig, HTTPSConfig must be set.
32373237
TCPConfig *HealthCheckTCPConfig `json:"tcp_config,omitempty"`
32383238

3239-
// MysqlConfig: object to configure a MySQL health check. The check requires MySQL >=3.22, for older versions, use a TCP health check.
3239+
// MysqlConfig: object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
32403240
// Precisely one of TCPConfig, MysqlConfig, PgsqlConfig, LdapConfig, RedisConfig, HTTPConfig, HTTPSConfig must be set.
32413241
MysqlConfig *HealthCheckMysqlConfig `json:"mysql_config,omitempty"`
32423242

@@ -4435,7 +4435,7 @@ type ZonedAPIUpdateHealthCheckRequest struct {
44354435
// Precisely one of TCPConfig, MysqlConfig, PgsqlConfig, LdapConfig, RedisConfig, HTTPConfig, HTTPSConfig must be set.
44364436
TCPConfig *HealthCheckTCPConfig `json:"tcp_config,omitempty"`
44374437

4438-
// MysqlConfig: object to configure a MySQL health check. The check requires MySQL >=3.22, for older versions, use a TCP health check.
4438+
// MysqlConfig: object to configure a MySQL health check. The check requires MySQL >=3.22 or <9.0. For older or newer versions, use a TCP health check.
44394439
// Precisely one of TCPConfig, MysqlConfig, PgsqlConfig, LdapConfig, RedisConfig, HTTPConfig, HTTPSConfig must be set.
44404440
MysqlConfig *HealthCheckMysqlConfig `json:"mysql_config,omitempty"`
44414441

0 commit comments

Comments
 (0)