Author: rfm
Date: Wed Dec 10 09:10:15 2014
New Revision: 38247
URL: http://svn.gna.org/viewcvs/gnustep?rev=38247&view=rev
Log:
clear alarm for failure to register when we get a ping response
Modified:
libs/ec/trunk/EcCommand.m
Modified: libs/ec/trunk/EcCommand.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcCommand.m?rev=38247&r1=38246&r2=38247&view=diff
==============================================================================
--- libs/ec/trunk/EcCommand.m (original)
+++ libs/ec/trunk/EcCommand.m Wed Dec 10 09:10:15 2014
@@ -657,7 +657,9 @@
/* After the first ping response from a client we assume
* that client has completed startup and is running OK.
- * We can therefore clear any loss of client alarm.
+ * We can therefore clear any loss of client alarm, any
+ * alarm for being unable to register, and launch failure
+ * or fatal configuration alarms.
*/
managedObject = EcMakeManagedObject(host, n, nil);
a = [EcAlarm alarmForManagedObject: managedObject
@@ -665,6 +667,15 @@
withEventType: EcAlarmEventTypeProcessingError
probableCause: EcAlarmSoftwareProgramAbnormallyTerminated
specificProblem: @"Process availability"
+ perceivedSeverity: EcAlarmSeverityCleared
+ proposedRepairAction: nil
+ additionalText: nil];
+ [self alarm: a];
+ a = [EcAlarm alarmForManagedObject: managedObject
+ at: nil
+ withEventType: EcAlarmEventTypeProcessingError
+ probableCause: EcAlarmSoftwareProgramAbnormallyTerminated
+ specificProblem: @"Unable to register"
perceivedSeverity: EcAlarmSeverityCleared
proposedRepairAction: nil
additionalText: nil];
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs