记得上下班打卡 | git大法好,push需谨慎

Commit c3b050c0 authored by wangyifan's avatar wangyifan

Merge branch 'dev-header-x-server' into dev-1.3-container

parents 40e76b74 59f99073
......@@ -23,7 +23,7 @@ public class GlobalLogTrackInterceptor extends HandlerInterceptorAdapter {
// 从环境变量获取POD_NAME并添加到响应头
String podName = System.getenv(POD_NAME_ENV);
if (podName != null && !podName.isEmpty()) {
log.info("[preHandle] podName: {}", podName);
// log.info("[preHandle] podName: {}", podName);
response.setHeader(X_SERVER_HEADER, podName);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment