nz-talon 增加配置下发成功后,进行服务重启

This commit is contained in:
hyx
2021-08-06 17:28:00 +08:00
parent e725329063
commit dbed910b9c
4 changed files with 39 additions and 7 deletions

View File

@@ -14,6 +14,9 @@ public enum RCode {
CONFIG_SNMP_EXPORTER_RELOAD_FAILED(10007,"Reload snmp_exporter failed"),
PROMTAIL_CONFIG_VERSION_ISNULL(10008,"The promtail config version is required"),
PROMTAIL_START_CMD_ERROR(10009,"The promtail start command is error"),
PROMTAIL_STOP_CMD_ERROR(10010,"The promtail stop command is error"),
ERROR(999, "error"); //通用错误/未知错误
private RCode(Integer code, String msg) {