We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96571df commit 0ab9955Copy full SHA for 0ab9955
lib/reapi.py
@@ -52,6 +52,7 @@ def funAnalyze(self, strHost):
52
53
except Exception as e:
54
log.funLog(2, repr(e), 'err')
55
+ break
56
57
def funGrades(self, diOper):
58
# Parse endpoints to get the grades
@@ -61,7 +62,7 @@ def funGrades(self, diOper):
61
62
strGrade = 'X'
63
if strStaMess == 'Ready':
64
strGrade = diEP['grade']
- lstGrades.append('%s %s, %s, %s' % (strGrade, diOper['host'], diEP['ipAddress'], strStaMess))
65
+ lstGrades.append('[%s] %s, %s, %s' % (strGrade, diOper['host'], diEP['ipAddress'], strStaMess))
66
return lstGrades
67
68
def funOpStatus(self, strHost):
@@ -75,7 +76,7 @@ def funOpStatus(self, strHost):
75
76
strStatus = diOper['status']
77
log.funLog(3, 'Transaction status: %s' % strStatus)
78
if strStatus == 'ERROR':
- return ['X %s, %s' % (strHost, diOper['statusMessage'])]
79
+ return ['[X] %s, %s' % (strHost, diOper['statusMessage'])]
80
81
82
0 commit comments