提交 276b0bee 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!498 Fix the available hints

Merge pull request !498 from LiHongzhang/fix_wording_r
...@@ -91,7 +91,7 @@ def _libsmicall(*args): ...@@ -91,7 +91,7 @@ def _libsmicall(*args):
fname = inspect.stack()[1].function fname = inspect.stack()[1].function
error_code = getattr(libsmi, fname)(*args) error_code = getattr(libsmi, fname)(*args)
if error_code != 0: if error_code != 0:
logger.error(f'{fname} querying failed with error code {error_code}.') logger.error('%s querying failed with error code %d.', fname, error_code)
return error_code == 0 return error_code == 0
......
...@@ -396,7 +396,7 @@ ...@@ -396,7 +396,7 @@
"allCpu": "CPU-总计:", "allCpu": "CPU-总计:",
"chipNameTip": "芯片名称", "chipNameTip": "芯片名称",
"deviceIdTip": "芯片号", "deviceIdTip": "芯片号",
"availableTip": "芯片是否空闲", "availableTip": "芯片是否空闲(仅供参考)",
"healthTip": "芯片健康指数", "healthTip": "芯片健康指数",
"ipTip": "芯片IP地址", "ipTip": "芯片IP地址",
"aicoreTip": "芯片利用率", "aicoreTip": "芯片利用率",
...@@ -422,7 +422,7 @@ ...@@ -422,7 +422,7 @@
"emergencyWarn": "紧急警告", "emergencyWarn": "紧急警告",
"noChip": "芯片不存在或未启动", "noChip": "芯片不存在或未启动",
"availableFree": "芯片空闲", "availableFree": "芯片空闲",
"availableBusy": "芯片已被占用或不可用(仅供参考)", "availableBusy": "芯片已被占用或不可用",
"failQueryChip": "芯片信息查询有误", "failQueryChip": "芯片信息查询有误",
"faliQuery": "查询有误" "faliQuery": "查询有误"
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册