SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
add SetDefault function for Configuration
Chris Lu573b74f24fdd
diff --git a/weed/util/config.go b/weed/util/config.goindex 6a9ee582ae..4ba68b8006 100644--- a/weed/util/config.go+++ b/weed/util/config.go@@ -10,6 +10,7 @@ type Configuration interface {GetBool(key string) boolGetInt(key string) intGetStringSlice(key string) []string+ SetDefault(key string, value interface{})}func LoadConfiguration(configFileName string, required bool) (loaded bool) {