Skip to content

Commit 4f85233

Browse files
committed
Fix #47: Don't report FAIL for transient errors
1 parent 83e6976 commit 4f85233

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

checkipaconsistency/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
along with this program. If not, see <http://www.gnu.org/licenses/>.
2323
"""
2424

25-
VERSION = '2.7.3'
25+
VERSION = '2.7.4'

checkipaconsistency/freeipaserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def _replication_agreements(self):
417417
host = host.replace('.%s' % self._domain, '')
418418
status = attrs['nsds5replicaLastUpdateStatus'][0].decode('utf-8')
419419
status = status.replace('Error ', '').partition(' ')[0].strip('()')
420-
if status not in ['0']:
420+
if status not in ['0', '18']:
421421
healthy = False
422422
msg.append('%s %s' % (host, status))
423423

0 commit comments

Comments
 (0)