doc(fsrepo)
Brian Tiger Chow committed
Jan 14, 2015 at 04:02 UTC
70dab069bd13f03c06737363b3d4b6bf6e476d92
1 file changed
+3
repo/fsrepo/fsrepo.go
+3
@@ -86,6 +86,9 @@ func Init(path string, conf *config.Config) error {
86
if err != nil {
87
return err
88
}
89
+ // initialization is the one time when it's okay to write to the config
90
+ // without reading the config from disk and merging any user-provided keys
91
+ // that may exist.
92
if err := writeConfigFile(configFilename, conf); err != nil {
93
return err
94
}