Skip to content

Commit 066e01e

Browse files
committed
MINOR: remove Redispatch default value
1 parent 3ac45e3 commit 066e01e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ allowed:
5252
- CORS
5353
- dataplaneapi
5454
- usr
55+
- Redispatch

pkg/haproxy/env/defaults.go

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

7878
// Default values
79-
enabled := "enabled"
80-
if defaults.Redispatch == nil {
81-
defaults.Redispatch = &models.Redispatch{Enabled: &enabled}
82-
}
8379
if defaults.Dontlognull == "" {
8480
defaults.Dontlognull = "enabled"
8581
}

0 commit comments

Comments
 (0)