Merge pull request #1245 from codysoyland/id-file-name

Rename ID file to ".id" for consistency with existing data files
This commit is contained in:
Cody Soyland 2018-05-04 12:47:47 -05:00 committed by GitHub
commit fab755573b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -524,7 +524,7 @@ func (h *Holder) setFileLimit() {
}
func (h *Holder) loadNodeID() (string, error) {
idPath := path.Join(h.Path, "ID")
idPath := path.Join(h.Path, ".id")
nodeID := ""
h.Logger.Printf("load NodeID: %s", idPath)
if err := os.MkdirAll(h.Path, 0777); err != nil {