fix some typos
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user