rename UUID file

fix typo
move locationUUID  into DiskLocation
This commit is contained in:
guol-fnst
2022-05-17 10:19:35 +08:00
committed by guol-fnst
parent de6aa9cce8
commit 8fab39e775
3 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ func (ms *MasterServer) RegisterUUIDs(heartbeat *master_pb.Heartbeat) error {
index := sort.SearchStrings(v, id)
if index < len(v) && v[index] == id {
glog.Error("directory of ", id, " on ", k, " has been loaded")
return errors.New("volume: Duplicated volume directory was been loaded")
return errors.New("volume: Duplicated volume directories were loaded")
}
}
}