aboutsummaryrefslogtreecommitdiff
path: root/weed/command/volume.go
diff options
context:
space:
mode:
authorvadimartynov <166398828+vadimartynov@users.noreply.github.com>2024-07-16 19:15:55 +0300
committerGitHub <noreply@github.com>2024-07-16 09:15:55 -0700
commitb796c21fa9cce9360900b18253c182fd5ca92763 (patch)
tree681ca1f3def0379f7a3ece698de7d0c443440443 /weed/command/volume.go
parent67edf1d01413f330d6983125b94e5c3d40a845f2 (diff)
downloadseaweedfs-b796c21fa9cce9360900b18253c182fd5ca92763.tar.xz
seaweedfs-b796c21fa9cce9360900b18253c182fd5ca92763.zip
Added loadSecurityConfigOnce (#5792)
Diffstat (limited to 'weed/command/volume.go')
-rw-r--r--weed/command/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index 4bd7668d5..1078d8d6c 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -125,7 +125,7 @@ var (
func runVolume(cmd *Command, args []string) bool {
- util.LoadConfiguration("security", false)
+ util.LoadSecurityConfiguration()
// If --pprof is set we assume the caller wants to be able to collect
// cpu and memory profiles via go tool pprof