diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2019-11-11 12:43:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-11 12:43:24 -0800 |
| commit | d7852ebb3b8900baeff3d806f8fe2404c511aa5d (patch) | |
| tree | b41c48bff0926c422324bd1286ffb37abb990c93 /weed/util/config.go | |
| parent | 9c2f3b1b0f2b7e4617975edde4f4872ff6418641 (diff) | |
| parent | d07701fa757991df6397ffde5887a70e5361d1f4 (diff) | |
| download | seaweedfs-d7852ebb3b8900baeff3d806f8fe2404c511aa5d.tar.xz seaweedfs-d7852ebb3b8900baeff3d806f8fe2404c511aa5d.zip | |
Merge pull request #1102 from stlpmo-jn/add_ETCD_sequencer
Add etcd sequencer
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() } + |
