diff options
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index 45d13ac1f..91d9fb925 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -188,9 +188,7 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v } // security related white list configuration - if volumeWhiteListOption != "" { - v.whiteList = strings.Split(volumeWhiteListOption, ",") - } + v.whiteList = util.StringSplit(volumeWhiteListOption, ",") if *v.ip == "" { *v.ip = util.DetectedHostAddress() |
