Skip to content

Commit

Permalink
remove(backend): remove redundant ErrorThreshold field (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist authored Aug 4, 2023
1 parent 8c10d4b commit 1c6720a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fastly/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ type Backend struct {
ConnectTimeout int `mapstructure:"connect_timeout"`
CreatedAt *time.Time `mapstructure:"created_at"`
DeletedAt *time.Time `mapstructure:"deleted_at"`
ErrorThreshold int `mapstructure:"error_threshold"`
FirstByteTimeout int `mapstructure:"first_byte_timeout"`
HealthCheck string `mapstructure:"healthcheck"`
Hostname string `mapstructure:"hostname"`
Expand Down Expand Up @@ -104,8 +103,6 @@ type CreateBackendInput struct {
Comment *string `url:"comment,omitempty"`
// ConnectTimeout is the maximum duration in milliseconds to wait for a connection to this backend to be established.
ConnectTimeout *int `url:"connect_timeout,omitempty"`
// ErrorThreshold is the number of errors to allow before the Backend is marked as down.
ErrorThreshold *int `url:"error_threshold,omitempty"`
// FirstByteTimeout is how long to wait for the first bytes in milliseconds.
FirstByteTimeout *int `url:"first_byte_timeout,omitempty"`
// HealthCheck is the name of the healthcheck to use with this backend.
Expand Down Expand Up @@ -226,8 +223,6 @@ type UpdateBackendInput struct {
Comment *string `url:"comment,omitempty"`
// ConnectTimeout is the maximum duration in milliseconds to wait for a connection to this backend to be established.
ConnectTimeout *int `url:"connect_timeout,omitempty"`
// ErrorThreshold is the number of errors to allow before the Backend is marked as down.
ErrorThreshold *int `url:"error_threshold,omitempty"`
// FirstByteTimeout is how long to wait for the first bytes in milliseconds.
FirstByteTimeout *int `url:"first_byte_timeout,omitempty"`
// HealthCheck is the name of the healthcheck to use with this backend.
Expand Down

0 comments on commit 1c6720a

Please sign in to comment.