diff --git a/restagent/etc/restconf.yaml b/restagent/etc/restconf.yaml index ddbd183..6ffcf47 100644 --- a/restagent/etc/restconf.yaml +++ b/restagent/etc/restconf.yaml @@ -37,22 +37,19 @@ webServer: database: type: mysql user: root - # password: "1000omc@kp!" - # host: "192.168.2.219" - # port: 33066 - # name: omc_db + password: "1000omc@kp!" + host: "192.168.2.219" + port: 33066 + name: omc_db backup: d:/local.git/ems.agt/restagent/database - password: "root@1234" - host: "192.168.2.162" - port: 3306 - name: "omc_db" + # Redis 缓存数据,数据源声明全小写 redis: dataSource: # OMC系统使用库 default: port: 6379 # Redis port - host: "192.168.2.162" # Redis host + host: "192.168.2.152" # Redis host password: "redis@1234" db: 10 # Redis db_num # UDM网元用户库 diff --git a/src/modules/trace/service/tcpdump.impl.go b/src/modules/trace/service/tcpdump.impl.go index 6b8c005..78f1259 100644 --- a/src/modules/trace/service/tcpdump.impl.go +++ b/src/modules/trace/service/tcpdump.impl.go @@ -1,7 +1,7 @@ package service import ( - "fmt" + fmt "fmt" "net" "time"