fix: 网元安装Para5G参数读取nil和终端终止符判断

This commit is contained in:
TsMask
2025-03-04 18:12:09 +08:00
parent 75c3a5bcf2
commit 27da69050d
2 changed files with 2 additions and 2 deletions

View File

@@ -821,7 +821,7 @@ func (r NeInfo) NeConfPara5GRead() (map[string]any, error) {
}
// NeConfPara5GWirte 网元公共配置文件写入 content内容 syncNE同步到网元端NeType@NeId
func (r NeInfo) NeConfPara5GWirte(content map[string]any, syncNE []string) error {
func (r *NeInfo) NeConfPara5GWirte(content map[string]any, syncNE []string) error {
// 网管本地路径
omcFilePath := "/usr/local/etc/omc/para5G.yaml"
if runtime.GOOS == "windows" {