Revision 2663321c

b/src/Ganeti/Confd/Client.hs
86 86
updateConfdReply newValue Nothing = Just newValue
87 87
updateConfdReply newValue (Just currentValue) = Just $
88 88
  if confdReplyStatus newValue == ReplyStatusOk
89
      && confdReplySerial newValue > confdReplySerial currentValue
89
      && (confdReplyStatus currentValue /= ReplyStatusOk
90
          || confdReplySerial newValue > confdReplySerial currentValue)
90 91
    then newValue
91 92
    else currentValue
92 93

  

Also available in: Unified diff