fix: fix non-json logs with log_as_json enabled (#3779)

Signed-off-by: CH3CHO <ch3cho@qq.com>
This commit is contained in:
Kent Dong
2026-04-30 18:03:33 +08:00
committed by GitHub
parent 74c68180c8
commit 4e0d691432
14 changed files with 15 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ import (
"sync"
"istio.io/api/networking/v1alpha3"
"istio.io/pkg/log"
"istio.io/istio/pkg/log"
apiv1 "github.com/alibaba/higress/v2/api/networking/v1"
"github.com/alibaba/higress/v2/pkg/common"
@@ -268,4 +268,3 @@ func (w *watcher) getSni(se *v1alpha3.ServiceEntry) string {
func (w *watcher) GetRegistryType() string {
return w.RegistryConfig.Type
}