aboutsummaryrefslogtreecommitdiff
path: root/weed/util/config.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-01-28 00:49:47 -0800
committerChris Lu <chris.lu@gmail.com>2020-01-28 00:49:47 -0800
commit27b94cb65b34c084790f0a1884956702ee51acc2 (patch)
treec190a454fc1512d9b0e01b2b57a2cb4f9258d685 /weed/util/config.go
parentf72405705192f531a0ee5da11361bc4300ccde08 (diff)
downloadseaweedfs-27b94cb65b34c084790f0a1884956702ee51acc2.tar.xz
seaweedfs-27b94cb65b34c084790f0a1884956702ee51acc2.zip
fix wrong url
fix https://github.com/chrislusf/seaweedfs/issues/1187
Diffstat (limited to 'weed/util/config.go')
-rw-r--r--weed/util/config.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/weed/util/config.go b/weed/util/config.go
index 4ba68b800..7b86b749e 100644
--- a/weed/util/config.go
+++ b/weed/util/config.go
@@ -27,10 +27,7 @@ func LoadConfiguration(configFileName string, required bool) (loaded bool) {
glog.V(0).Infof("Reading %s: %v", viper.ConfigFileUsed(), err)
if required {
glog.Fatalf("Failed to load %s.toml file from current directory, or $HOME/.seaweedfs/, or /etc/seaweedfs/"+
- "\n\nPlease follow this example and add a filer.toml file to "+
- "current directory, or $HOME/.seaweedfs/, or /etc/seaweedfs/:\n"+
- " https://github.com/chrislusf/seaweedfs/blob/master/weed/%s.toml\n"+
- "\nOr use this command to generate the default toml file\n"+
+ "\n\nPlease use this command to generate the default %s.toml file\n"+
" weed scaffold -config=%s -output=.\n\n\n",
configFileName, configFileName, configFileName)
} else {