Return fail on zk error
This commit is contained in:
parent
6edba44d32
commit
53ae33db8e
|
@ -196,6 +196,7 @@ func (z ZooNode) WatchAnswer(fqdn string, t string) MountState {
|
|||
_, _, ch, err := z.Conn.ChildrenW(answersPath)
|
||||
if err != nil {
|
||||
log.Print("[zk ERROR] 107 ", err)
|
||||
return MountState{"FAIL", "Zk error"}
|
||||
}
|
||||
|
||||
var ms MountState
|
||||
|
|
Loading…
Reference in New Issue
Block a user