diff --git a/assets/src/pages/monitor/pannel.tsx b/assets/src/pages/monitor/pannel.tsx index f52c44eab..f2de3d26d 100644 --- a/assets/src/pages/monitor/pannel.tsx +++ b/assets/src/pages/monitor/pannel.tsx @@ -66,7 +66,7 @@ function GrafanaPannel(props: any) { position: 'relative', display: 'flex', flex: 'auto', - marginLeft: iframeVisible ? 0 : -60, + marginLeft: 0, flexDirection: 'column', justifyContent: 'center', alignItems: 'center', diff --git a/internal/pkg/service/k8s/pod.go b/internal/pkg/service/k8s/pod.go index a4eb995e2..beeaa89c4 100644 --- a/internal/pkg/service/k8s/pod.go +++ b/internal/pkg/service/k8s/pod.go @@ -276,10 +276,9 @@ func (i *syncPod) update(old interface{}, new interface{}) { func (i *syncPod) delete(obj interface{}) { in, ok := obj.(*v1.Pod) if !ok { - xlog.Warn("k8sWork", + xlog.Warn("k8sWork not ok", xlog.String("step", "add-check"), xlog.String("zoneCode", i.zoneCode), - xlog.String("podName", in.Name), xlog.Any("obj", obj), xlog.String("reason", "type error")) return