Skip to content

Commit d77ea94

Browse files
committed
MINOR: remove Redispatch default value
1 parent 96ce4c1 commit d77ea94

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ allowed:
4444
- CORS
4545
- dataplaneapi
4646
- usr
47+
- Redispatch
4748
- backport
4849
- cmd

pkg/haproxy/certs/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ func (c *certs) AddSecret(secret *store.Secret, secretType SecretType) (certPath
161161
}
162162

163163
func (c *certs) updateRuntime(filename string, payload []byte, isCa bool) (bool, error) {
164-
if instance.NeedReload() {
165-
return false, nil
166-
}
164+
// if instance.NeedReload() {
165+
// return false, nil
166+
// }
167167
// Only 1 transaction in parallel is possible for now in haproxy
168168
// Keep this mutex for now to ensure that we perform 1 transaction at a time
169169
certType := "cert"

pkg/haproxy/env/defaults.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ func SetDefaults(defaults *models.Defaults) {
8383
// Logging is enforced in DefaultsPushConfiguration method
8484

8585
// Default values
86-
enabled := "enabled"
87-
if defaults.Redispatch == nil {
88-
defaults.Redispatch = &models.Redispatch{Enabled: &enabled}
89-
}
9086
if defaults.Dontlognull == "" {
9187
defaults.Dontlognull = "enabled"
9288
}

0 commit comments

Comments
 (0)