diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2024-12-02 23:38:10 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-02 10:38:10 -0800 |
| commit | b65eb2ec4569891495ae184bf6090e0e500961e3 (patch) | |
| tree | 92b75ea55a544a066f657e12fc9745a78f26baa5 /weed/command/volume.go | |
| parent | b2ba7d7408500bb450884a288327a1fb53e67fae (diff) | |
| download | seaweedfs-b65eb2ec4569891495ae184bf6090e0e500961e3.tar.xz seaweedfs-b65eb2ec4569891495ae184bf6090e0e500961e3.zip | |
[security] reload whiteList on http seerver (#6302)
* reload whiteList
* white_list add to scaffold
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index 1078d8d6c..2389d5561 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -280,6 +280,7 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v clusterHttpServer := v.startClusterHttpService(volumeMux) grace.OnReload(volumeServer.LoadNewVolumes) + grace.OnReload(volumeServer.Reload) stopChan := make(chan bool) grace.OnInterrupt(func() { |
