feat: etcReadError

This commit is contained in:
2021-12-14 14:59:42 +08:00
parent 35d31821da
commit 9977fd1a16
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ func etcdReader(env string) {
configMap[string(v.Key)] = string(v.Value)
}
} else {
ctxLogger.Error(nil, "etcdReaderErr", zap.String("reason", err.Error()))
ctxLogger.Error(nil, consts.EtcReadError, zap.String("reason", err.Error()))
os.Exit(-1)
}
}