diff options
Diffstat (limited to 'weed/util/config.go')
| -rw-r--r-- | weed/util/config.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/util/config.go b/weed/util/config.go index 1ea833d1f..4ba68b800 100644 --- a/weed/util/config.go +++ b/weed/util/config.go @@ -9,9 +9,8 @@ type Configuration interface { GetString(key string) string GetBool(key string) bool GetInt(key string) int - GetInt64(key string) int64 - GetFloat64(key string) float64 GetStringSlice(key string) []string + SetDefault(key string, value interface{}) } func LoadConfiguration(configFileName string, required bool) (loaded bool) { @@ -40,5 +39,4 @@ func LoadConfiguration(configFileName string, required bool) (loaded bool) { } return true - } |
