1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-09 01:05:53 +02:00

rename err to error

This commit is contained in:
Kelly Brazil
2021-04-01 20:17:21 -07:00
parent eb83c9b86d
commit 0a7ed0959d
2 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ Examples:
"description": "displays information on ACPI devices",
"desired": "unknown",
"status": "trigger await",
"err": "reinstall required"
"error": "reinstall required"
},
{
"codes": "rh",
@ -146,7 +146,7 @@ Returns:
"description": string,
"desired": string,
"status": string,
"err": string
"error": string
}
]

View File

@ -51,7 +51,7 @@ Examples:
"description": "displays information on ACPI devices",
"desired": "unknown",
"status": "trigger await",
"err": "reinstall required"
"error": "reinstall required"
},
{
"codes": "rh",
@ -153,7 +153,7 @@ def process(proc_data):
"description": string,
"desired": string,
"status": string,
"err": string
"error": string
}
]
"""
@ -197,7 +197,7 @@ def process(proc_data):
for key, value in err_map.items():
if err[0].lower() == key:
entry['err'] = value
entry['error'] = value
break
return proc_data