fix some typos

This commit is contained in:
Lei Xue
2015-01-13 18:46:56 +08:00
parent 5afdc469a3
commit 029e3a3822
5 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ func (mn *MasterNodes) findMaster() (string, error) {
}
}
if mn.lastNode < 0 {
return "", errors.New("No master node avalable!")
return "", errors.New("No master node available!")
}
return mn.nodes[mn.lastNode], nil
}