diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-11-11 21:30:14 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-11-11 21:30:14 -0800 |
| commit | ee90236a972acea8722dccfa1b04926d551fc82d (patch) | |
| tree | 7890d2482177caad2fa72b741435bcefff140cf3 /weed/util/config.go | |
| parent | 85f8649320033a46e71b20a588930013c00b3fdf (diff) | |
| parent | d7852ebb3b8900baeff3d806f8fe2404c511aa5d (diff) | |
| download | seaweedfs-ee90236a972acea8722dccfa1b04926d551fc82d.tar.xz seaweedfs-ee90236a972acea8722dccfa1b04926d551fc82d.zip | |
Merge branch 'master' into refactoring_dat_backend
Diffstat (limited to 'weed/util/config.go')
| -rw-r--r-- | weed/util/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/util/config.go b/weed/util/config.go index 1ea833d1f..7e2f9b373 100644 --- a/weed/util/config.go +++ b/weed/util/config.go @@ -40,5 +40,9 @@ func LoadConfiguration(configFileName string, required bool) (loaded bool) { } return true +} +func Config() Configuration { + return viper.GetViper() } + |
